diff --git a/kernel/build.sh b/kernel/build.sh index 45fb50cd..c8925233 100755 --- a/kernel/build.sh +++ b/kernel/build.sh @@ -1,8 +1,8 @@ #!/bin/bash -read -p "What kernel version would you like?" +read -p "What kernel version would you like? " -echo "Cloning the $REPLY kernel with --depth 1" +echo "Cloning kernel $REPLY with --depth 1" git clone --branch chromeos-$REPLY --depth 1 https://chromium.googlesource.com/chromiumos/third_party/kernel.git cd kernel @@ -33,10 +33,10 @@ futility --debug vbutil_kernel \ --arch x86_64 --version 1 \ --keyblock /usr/share/vboot/devkeys/kernel.keyblock \ --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk \ - --bootloader kernel.flags \ - --config kernel.flags \ - --vmlinuz bzImage \ - --pack bzImage.signed + --bootloader ../kernel.flags \ + --config ../kernel.flags \ + --vmlinuz ../bzImage \ + --pack ../bzImage.signed echo "Signed bzImage created\!" # Shell expansion weirdness mkdir mod diff --git a/setup.sh b/setup.sh index 35d8f2b9..0c72532a 100755 --- a/setup.sh +++ b/setup.sh @@ -1,7 +1,6 @@ #!/bin/bash # Exit if the user did not specify the desktop -echo $1 [[ -n "$1" ]] || { echo "No desktop specified"; exit; } [[ -n "$2" ]] || { echo "No distro specified, using Ubuntu"; set -- $1 "ubuntu"; }