Add autorun capabilities to i386 cds

This commit is contained in:
Santiago Garcia Mantinan 2005-05-17 09:55:36 +00:00
parent f029f6e6e6
commit 8a8cc186cb
2 changed files with 17 additions and 0 deletions

3
debian/changelog vendored
View File

@ -24,6 +24,9 @@ debian-cd (2.2.22) UNRELEASED; urgency=low
- Allow the usage of a local mirror of the daily d-i builds to be used
for sid_d-i builds, this is done by setting DI_WWW_HOME=default and
DI_DIR=/path/to/the/mirror
- Add autorun capabilities to i386 cds so that instead of getting the
"what do you want Windows to do" question under XP, we get the html
README started.
-- Joey Hess <joeyh@debian.org> Thu, 14 Apr 2005 00:59:49 -0400

View File

@ -223,6 +223,20 @@ if [ "$NN" = "1" ]; then
fi
fi
# Add autorun if we have README.html
if [ -f $CDDIR/README.html ]; then
todos > $CDDIR/autorun.inf <<EOF
[autorun]
open=autorun.bat
EOF
todos > $CDDIR/autorun.bat <<EOF
@echo Starting "README.html"...
@start README.html
@exit
EOF
fi
# write final lines to mkisofs_opts
if [ "$NN" = "1" ]; then
echo -n "boot$N " >> $N.mkisofs_opts