diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2025-10-16 10:07:16 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2025-10-16 10:07:16 +0200 |
| commit | 22a790fc1d99b96cd1316b835ae02c4476f548bc (patch) | |
| tree | 15eed23ce3f0a3cfbdaa453fd25eba082ea59f79 /bin | |
| parent | d88f13151913a0921a1bd95c6ec915916db910f4 (diff) | |
| download | dotfiles-22a790fc1d99b96cd1316b835ae02c4476f548bc.tar.gz dotfiles-22a790fc1d99b96cd1316b835ae02c4476f548bc.zip | |
kbuild: Change 'vf2' to 'debian'
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>
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/kbuild | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -48,6 +48,8 @@ set -e +# TODO: add a -u/--uuid flag, which can specify: suse-virt, suse-vf2 + ## # Arguments that can be passed. @@ -94,7 +96,7 @@ Build the Linux Kernel located at the current directory. You may pass the following options: -h, --help Show this message. - -p, --profile The profile to be picked up (values: vf2, suse). + -p, --profile The profile to be picked up (values: debian, suse). --skip-install Don't generate the install/uninstall files. --skip-config Skip the configuration step. HERE @@ -103,14 +105,14 @@ fi # Hard check on the profile being picked. case "$PROFILE" in - "vf2" | "suse") + "debian" | "suse") ;; "") - echo "kbuild (error): you have to profile one of these profiles: vf2, suse." + echo "kbuild (error): you have to profile one of these profiles: debian, suse." exit 1 ;; *) - echo "kbuild (error): uknown profile '$PROFILE'. Possible values: vf2, suse." + echo "kbuild (error): uknown profile '$PROFILE'. Possible values: debian, suse." exit 1 ;; esac @@ -258,7 +260,7 @@ fi SCRIPT case "$PROFILE" in - "vf2") + "debian") cat <<SCRIPT >>"$INSTALL_PATH/install.sh" cat <<EXT >>/boot/extlinux/extlinux.conf @@ -351,7 +353,7 @@ fi SCRIPT case "$PROFILE" in - "vf2") + "debian") cat <<SCRIPT >>"$INSTALL_PATH/uninstall.sh" \$EDITOR /boot/extlinux/extlinux.conf SCRIPT |
