| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of inlining shell scripts inside of the `kbuild` one, move them
into subdirectories inside of the new $HOME/.config/kbuild
directory. Each subdirectory will match a profile (i.e. no more hacky
hardcoded values on `kbuild`), and it will contain the relevant
install.sh/uninstall.sh files which matter for that profile.
This also allows us more flexibility when it comes to GRUB
configuration (e.g. picking the right UUID value without having to
re-invent the wheel via esoteric new parameters).
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
The folks at openSUSE were nice enough to provide an image that works with my
VisionFive2 board. Hence, let's reformulate the "vf2" profile to "debian", as
that's closer to what I was doing.
That being said, I have left a TODO to denote that the UUID used in GRUB needs
to be handled more gracefully.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
|
|
|
|
|
| |
I always end up forgetting which is which, and I have to turn into
'-h/--help'. Hence, instead of providing a "clever" short version of
each flag, let's scrap that and use a more explicit name for each
--skip-* flag.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
|
|
|
|
|
| |
Moreover, some subtle fixes have been added, like using
'update-bootloader' instead of 'update-grub' in SUSE-like systems, and
having -f in 'rm' commands so uninstall.sh can be run safely multiple
times without erroring out.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
|
|
|
|
| |
If the user asked for '-h/--help', the profile is irrelevant. Hence, the
right order is: first check if '-h/--help' was provided, then the
profile.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
|
|
|
|
| |
This allows this script to be more specific on the kernel being used,
less hiden (as it was on an environment variable), and it easies up the
route for a disk already containing a Linux system.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
|
|
|
| |
This allows this script to be more specific for the resulting
'install.sh', as the current situation wasn't quite working.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
|
|
|
| |
I don't know what were the defaults for this, but it was certainly not
enough in order to run some of the selftests from the Linux kernel.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
|
|
|
| |
Relevant for my Framework RISC-V laptop, even if I need to get my hands
dirty a bit more with it.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
|
|
|
|
| |
This is a glorified bash one-liner for fetching my email by syncing each
channel via GNU parallel. This speeds up a bit from the usual 'mbsync
-a', even if it's not a miracle.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
This replaces the good ol' install.sh script, and it allows me to not
only install on a new system, but also upgrade dependencies, repair
broken links, etc. This is certainly not Nix, but at least it's not as
bad as it used to be.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Personal stuff like the location of the kernel image should go into my
.bashrc file, and then require it on `run-riscv-qemu.sh`. Similarly,
some environment variables were dropped, and some others removed. This
brings some much needed consistency to the whole script.
Last but not least, the `run-riscv-qemu.sh` now also had an extra
configurable variable, which is used for the `-cpu` QEMU option. It
defaults to 'max' so we can test the maximum amount of supported
extensions as possible.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When running QEMU/RISC-V, force the user to provide the `BUSYBOX_SRC`
environment variable. This variable points to the path where busybox has
been built. This way the path to the initramfs is not hardcoded.
Moreover, this allows us to rebuilt the initramfs every time the
`run-riscv-qemu.sh` is called, which in turn brings some consistency to
the process. Plus, this opens the door for allowing files to be passed
into a new `/home` directory for the current user. This way, someone can
just statically compile a binary via cross compilation, and then run it
in isolation with QEMU/RISC-V.
Last but not least, also update the .bashrc file with a value for
`BUSYBOX_SRC` on my system.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
|
|
|
|
| |
There are now two scripts that can be used in order to quickly test a
locally built Linux kernel which has been cross compiled for the RISC-V
architecture.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
The vi branch was calling vim anyways, which is not what we want in
restricted environments. Moreover, I have also added nano. It would be
extremely rare for GNU nano to be there and not vi, but let's exhaust
any possibility before bailing out.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
|
|
|
|
| |
The initrd image is created and installed dynamically via install.sh.
Hence, this is not picked up by the files.txt list and so we need to
remove it manually.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
|
|
| |
Instead of prompting the user, just do the right thing.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
|
|
|
| |
This way the heavy process of creating a tarball can be skipped on silly
builds.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
|
|
|
| |
This allows me to skip the defconfig/menuconfig over and over again when
writing a patch.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
Usually the configuration for extboot is just the same. For that, before
starting the editor for it, append the configuration that I'd most
likely be using. Then the editor session might just be deleting the old
lines and removing the warning comment.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
|
|
|
| |
Funnily enough, running something like `. cross` makes bash unstable.
Hence, let's go back to mere .bashrc exporting.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
|
| |
|
|
|
|
| |
Apparently 'mi' is no longer the code to be used for maori.
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
|
| |
|
|
| |
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
|
| |
|
|
|
|
|
|
|
|
| |
I forgot to update the year on the license script itself (sorta did but
never bothered to push it on git), and removed emoji support in GNU
Emacs since it can be a pain when starting in daemon mode for the first
time (it asks for downloading the emojis but you don't really read it
when starting on this way).
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
|