From 93e0340d809d7ce4b9db53dc354345e122907be6 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 17 Sep 2007 00:02:34 +0200 Subject: [PATCH] Support windows autostart feature; update doc --- docs/grml-live.txt | 6 +----- grml-live | 23 ++++++++++++++--------- windows/autostart/autorun.bat | 3 +++ windows/autostart/autorun.inf | 3 +++ windows/autostart/autorun.pif | Bin 0 -> 967 bytes windows/autostart/cdrom.ico | Bin 0 -> 2238 bytes 6 files changed, 21 insertions(+), 14 deletions(-) create mode 100755 windows/autostart/autorun.bat create mode 100755 windows/autostart/autorun.inf create mode 100755 windows/autostart/autorun.pif create mode 100644 windows/autostart/cdrom.ico diff --git a/docs/grml-live.txt b/docs/grml-live.txt index 1274ac0..2183a21 100644 --- a/docs/grml-live.txt +++ b/docs/grml-live.txt @@ -220,8 +220,7 @@ instead?) that are arch specific so we have a clean package list in all classes) * support different grml-flavours through classes right out-of-the-box (being: -grml, grml64, grml-small for at least x86, amd64 and ppc) [currently it defaults -to Debian/stable I386, unstable I386 works as well] +grml, grml64, grml-small for at least x86, amd64 and ppc) * support setting grml-live configuration on the command line to provide different flavours using the commandline only @@ -247,9 +246,6 @@ not as verbose unless you specify it, make it configurable) * support nocolor-option for /etc/grml/fai/grml/grml_cleanup_chroot -* provide autostart-stuff (for Windows) inside root of $BUILD_TARGET (the -grml-cd) - Bugs ---- diff --git a/grml-live b/grml-live index 572ef44..786eb75 100755 --- a/grml-live +++ b/grml-live @@ -169,15 +169,16 @@ if [ "$ARCH" = i386 ] ; then echo " [x] $BUILD_TARGET/boot/isolinux exists already - skipping stage 'boot/isolinux'" continue else + # booting stuff: mkdir -p "$BUILD_TARGET"/boot/isolinux mkdir "$BUILD_TARGET"/GRML - cp /boot/memtest86+.bin "$BUILD_TARGET"/boot/isolinux/memtest - cp "$CHROOT_TARGET"/boot/initrd* "$BUILD_TARGET"/boot/isolinux/initrd.gz - cp "$CHROOT_TARGET"/boot/vmlinuz* "$BUILD_TARGET"/boot/isolinux/linux26 - cp /usr/lib/syslinux/chain.c32 "$BUILD_TARGET"/boot/isolinux/ - cp /usr/lib/syslinux/isolinux.bin "$BUILD_TARGET"/boot/isolinux/ - cp /usr/lib/syslinux/memdisk "$BUILD_TARGET"/boot/isolinux/ - cp /usr/lib/syslinux/menu.c32 "$BUILD_TARGET"/boot/isolinux/ + cp /boot/memtest86+.bin "$BUILD_TARGET"/boot/isolinux/memtest + cp "$CHROOT_TARGET"/boot/initrd* "$BUILD_TARGET"/boot/isolinux/initrd.gz + cp "$CHROOT_TARGET"/boot/vmlinuz* "$BUILD_TARGET"/boot/isolinux/linux26 + cp /usr/lib/syslinux/chain.c32 "$BUILD_TARGET"/boot/isolinux/ + cp /usr/lib/syslinux/isolinux.bin "$BUILD_TARGET"/boot/isolinux/ + cp /usr/lib/syslinux/memdisk "$BUILD_TARGET"/boot/isolinux/ + cp /usr/lib/syslinux/menu.c32 "$BUILD_TARGET"/boot/isolinux/ cp /usr/share/grml-live/i386_files/boot/isolinux/allinone.img "$BUILD_TARGET"/boot/isolinux/ cp /usr/share/grml-live/i386_files/boot/isolinux/balder10.imz "$BUILD_TARGET"/boot/isolinux/ cp /usr/share/grml-live/i386_files/boot/isolinux/boot-beep.msg "$BUILD_TARGET"/boot/isolinux/ @@ -186,8 +187,12 @@ if [ "$ARCH" = i386 ] ; then cp /usr/share/grml-live/i386_files/boot/isolinux/isolinux.cfg "$BUILD_TARGET"/boot/isolinux/ cp /usr/share/grml-live/i386_files/boot/isolinux/logo.16 "$BUILD_TARGET"/boot/isolinux/ cp /usr/share/grml-live/i386_files/boot/isolinux/syslinux.cfg "$BUILD_TARGET"/boot/isolinux/ - # minirt26.gz - # boot.cat + # autostart for Windows: + cp /usr/share/grml-live/windows/autostart/autorun.bat "$BUILD_TARGET"/ + cp /usr/share/grml-live/windows/autostart/autorun.inf "$BUILD_TARGET"/ + cp /usr/share/grml-live/windows/autostart/autorun.pif "$BUILD_TARGET"/ + cp /usr/share/grml-live/windows/autostart/cdrom.ico "$BUILD_TARGET"/ + # windows-binaries: if [ -n "$WINDOWS_BINARIES" ] ; then if [ -d "$BUILD_TARGET"/windows ] ; then echo " [x] $BUILD_TARGET/windows exists already - skipping stage 'WINDOWS_BINARIES'" diff --git a/windows/autostart/autorun.bat b/windows/autostart/autorun.bat new file mode 100755 index 0000000..9d603fa --- /dev/null +++ b/windows/autostart/autorun.bat @@ -0,0 +1,3 @@ +@echo Loading "index.html"... +@start GRML/index.html +@exit diff --git a/windows/autostart/autorun.inf b/windows/autostart/autorun.inf new file mode 100755 index 0000000..ed99086 --- /dev/null +++ b/windows/autostart/autorun.inf @@ -0,0 +1,3 @@ +[autorun] +open=autorun.bat +icon=cdrom.ico diff --git a/windows/autostart/autorun.pif b/windows/autostart/autorun.pif new file mode 100755 index 0000000000000000000000000000000000000000..d0201c88f0cd411851ecd794cf2635ae18cb7266 GIT binary patch literal 967 zcmZRma10Ic4+`~Dzz!Oi7#N)Mb8{2(QuLDZa~Xgt^_(0-7)SsDB&em4QbvaVk^u}1 z>@+f-6k~loorC;?{oO(o0zBPZBN*Bl85jx~!#(|6{KJD4j4jL*jP(o{SefQBW-x#P zKZU`F;s1XIFlG`EVvr}rG9uN&Y!CDGRWJeC{{O!;(;A?=Xaj)$_H_@^bMf(^mifS7 zf&(K4WQT*;tPGM2%nTs7}&r#B(*3vGcPd*ZU`E~Ilr_hGqp&; mFSQ&^2F7IuG6I117&GaBtrvqyV9?O)MrtO)Fb7$HkpTc+Tr@HO literal 0 HcmV?d00001 diff --git a/windows/autostart/cdrom.ico b/windows/autostart/cdrom.ico new file mode 100644 index 0000000000000000000000000000000000000000..4da9c9857704a4516a11663e1fc654ddbb65f991 GIT binary patch literal 2238 zcmeHH`&*1z9RIkqjNH3mUCNT&4OR`hq0)UCO&OBhx~L?R%a|@h7bJ}o(~U_}Y&EPY zWh;3kk9}A?+6{{eWl5`0`-E)u?m06p+xi3cm;IdgyzhC>=kxu1zu)sdGe93Q3=N@1 z?m$4Ftf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