git://git.onelab.eu
/
bootcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bde1fd
)
write a custom /etc/issue
author
Aaron Klingaman
<alk@cs.princeton.edu>
Thu, 2 Dec 2004 15:58:42 +0000
(15:58 +0000)
committer
Aaron Klingaman
<alk@cs.princeton.edu>
Thu, 2 Dec 2004 15:58:42 +0000
(15:58 +0000)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
6bbed7c
..
826bdef
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-132,6
+132,10
@@
function build_initrd()
cp -f $CONF_FILES_DIR/isolinux.cfg $CD_ROOT/usr/isolinux/
echo "$FULL_VERSION_STRING" > $CD_ROOT/usr/isolinux/message.txt
+ echo "writing /etc/issue"
+ echo "$FULL_VERSION_STRING" > $CD_ROOT/etc/issue
+ echo "Kernel \r on an \m\n" >> $CD_ROOT/etc/issue
+
echo "making the isolinux initrd kernel command line match rd size"
let INITRD_SIZE_KB=$(($RAMDISK_SIZE * 1024))
sed -i "s#ramdisk_size=0#ramdisk_size=$INITRD_SIZE_KB#g" \