From 2510def07ffcb4d33761d6d9af1f607c6027a31d Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 27 Jul 2023 20:43:22 -0500 Subject: [PATCH] Comment tweaks. --- mkroot/mkroot.sh | 2 +- mkroot/tar-for-web.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mkroot/mkroot.sh b/mkroot/mkroot.sh index f6e48569..b520cb36 100755 --- a/mkroot/mkroot.sh +++ b/mkroot/mkroot.sh @@ -270,7 +270,7 @@ else echo "$i" >> "$OUTDOC"/linux-microconfig echo "# architecture ${X:-independent}" csv2cfg "$i" y - X=specific + X=${X:+extra} X=${X:-specific} done [ -n "$BUILTIN" ] && echo -e CONFIG_INITRAMFS_SOURCE="\"$OUTPUT/fs\"" for i in $MODULES; do csv2cfg "$i" m; done diff --git a/mkroot/tar-for-web.sh b/mkroot/tar-for-web.sh index 31bd9fe7..7eea6f28 100755 --- a/mkroot/tar-for-web.sh +++ b/mkroot/tar-for-web.sh @@ -11,15 +11,15 @@ do tar cvzfC $i.tgz root --exclude=fs $j || break done -# Add top level README +# Generate top level README KVERS=$(toybox sed -n '3s@# Linux/[^ ]* \(.*\) Kernel Configuration@\1@p' root/*/docs/linux-fullconfig) cat > root/README << EOF Bootable system images created by: mkroot/mkroot.sh LINUX=~/linux CROSS=allnonstop -Each system image is built from two packages: toybox and Linux. -Run the ./qemu-*.sh script in the tarball to boot the system +Each system image is built from two packages: toybox and linux. +Run the ./qemu-*.sh script in each tarball to boot the system to a shell prompt under qemu. Run the "exit" command to shut down the virtual system and exit the emulator. -- 2.39.2