From 22a790fc1d99b96cd1316b835ae02c4476f548bc Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 16 Oct 2025 10:07:16 +0200 Subject: kbuild: Change 'vf2' to 'debian' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- bin/kbuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/bin/kbuild b/bin/kbuild index 2bc0963..0c6e6b0 100755 --- a/bin/kbuild +++ b/bin/kbuild @@ -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 <