Misc scattered fixes
This commit is contained in:
parent
f369f61f48
commit
bc27c96a50
7
README
7
README
|
@ -6,8 +6,6 @@ https://
|
|||
plus a lot of other info, like ubiquity and casper source code, and
|
||||
additions for making the resulting iso EFI bootable.
|
||||
|
||||
Run things in generally this order:
|
||||
|
||||
extractiso.sh
|
||||
extract the original iso
|
||||
|
||||
|
@ -28,3 +26,8 @@ run.sh -d
|
|||
|
||||
cleanup.sh
|
||||
remove everything but the isos
|
||||
|
||||
|
||||
SHORT VERSION:
|
||||
time sudo sh -c "env BUILD_CONFIG=12.10 ./full-rebuild.sh"
|
||||
time sudo sh -c "env BUILD_CONFIG=13.04 ./full-rebuild.sh"
|
||||
|
|
|
@ -33,7 +33,8 @@ sudo find ${ISO} -type f -print0 \
|
|||
| sudo xargs -0 md5sum \
|
||||
| sed -e "s, ${ISO}/iso, .," \
|
||||
| grep -v isolinux/boot.cat \
|
||||
| sudo tee md5sum.txt >/dev/null
|
||||
| grep -v md5sum.txt \
|
||||
| sudo tee ${ISO}/md5sum.txt >/dev/null
|
||||
|
||||
sudo chown -R ${USER} ${ISO}
|
||||
|
||||
|
|
|
@ -324,3 +324,9 @@ sed -i -s -e \
|
|||
cat >/etc/firefox/syspref.js <<"EOF"
|
||||
pref("browser.startup.homepage", "http://nilmdb.com/");
|
||||
EOF
|
||||
cat >/etc/xul-ext/homepage.properties <<"EOF"
|
||||
browser.startup.homepage=http://nilmdb.com/
|
||||
EOF
|
||||
cat >/etc/xul-ext/ubufox.js <<"EOF"
|
||||
pref("browser.startup.homepage", "file:/etc/xul-ext/homepage.properties");
|
||||
EOF
|
||||
|
|
|
@ -42,11 +42,11 @@ d-i passwd/auto-login boolean true
|
|||
EOF
|
||||
|
||||
# Set up isolinux how we want by editing its config
|
||||
TRY="Try NilmDBuntu ${VERSION}, with option to install"
|
||||
TRY="Boot ^NilmDBuntu ${VERSION}"
|
||||
cp splash.png ${ISO}/isolinux/splash.png
|
||||
perl -n -i \
|
||||
-e '$n=1 if /^label/; $n=2 if /^label live-install/; next if $n==2;' \
|
||||
-e "s/menu label.*Try.*/menu label ^$TRY/g;" \
|
||||
-e "s/menu label.*(Try|NilmDBuntu).*/menu label $TRY/g;" \
|
||||
-e "s,preseed/.*[.]seed,preseed/nilmdbuntu.seed,g;" \
|
||||
-e "s/ quiet splash//g;" \
|
||||
-e "print;" \
|
||||
|
@ -54,10 +54,11 @@ perl -n -i \
|
|||
sed -i -s -e "s/^ui gfxboot/# ui gfxboot/g;" ${ISO}/isolinux/isolinux.cfg
|
||||
|
||||
# Set up grub similarly
|
||||
TRY="Boot NilmDBuntu ${VERSION}"
|
||||
perl -n -i \
|
||||
-e "next if /menuentry \"Install/../^}$/;" \
|
||||
-e "next if /menuentry \"OEM install/../^}$/;" \
|
||||
-e "s/menuentry \"Try.*\" {/menuentry \"${TRY}\" {/g;" \
|
||||
-e "s/menuentry \"(Try|NilmDBuntu).*\" {/menuentry \"${TRY}\" {/g;" \
|
||||
-e "s,preseed/.*[.]seed,preseed/nilmdbuntu.seed,g;" \
|
||||
-e "s/ quiet splash//g;" \
|
||||
-e "print;" \
|
||||
|
|
|
@ -15,7 +15,7 @@ rm -f ${OUTPUT}
|
|||
./cleanup.sh
|
||||
for d in ${ORIG} ${OUTPUT} ${DISK} ; do
|
||||
mkdir -p $(dirname $d)
|
||||
chown ${USER} $d
|
||||
chown ${USER} $(dirname $d)
|
||||
done
|
||||
./extractiso.sh
|
||||
./customize.sh
|
||||
|
|
Loading…
Reference in New Issue
Block a user