diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-09-14 13:40:28 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-09-14 13:40:28 +0400 |
commit | da8fd325f663d3f240ee1a2b33713b96c1b73461 (patch) | |
tree | 01e73dd557e79301e548c9d50cf3741db66e885a | |
parent | 142f5e3ba422c11cb68dee684a62a03e1aaa4a6f (diff) | |
download | live-da8fd325f663d3f240ee1a2b33713b96c1b73461.tar.gz |
Set distribution codename in livecd builder
-rwxr-xr-x | install | 1 | ||||
-rwxr-xr-x | protostar | 11 |
2 files changed, 9 insertions, 3 deletions
@@ -64,6 +64,7 @@ bootenv = None rootdir = None # Version to install: +# XXX this line will be replaced by protostar codename = 'lacaille' # Arch to install: @@ -10,6 +10,7 @@ TMP="${TMP:-/var/tmp}" DATE=$(date '+%Y-%m-%d-%H%M') DIST="${DIST:-bok}" +INSTALL_DIST="${INSTALL_DIST:-lacaille}" REPO="${REPO:-http://apt.osdyson.org}" # We will search for usr archive on CD: @@ -132,8 +133,12 @@ fi dpkg -l --root "${ROOT}" > pkg.list mkdir "$ROOT/usr/install" -cp -a install DysonInstaller $ROOT/usr/install/ -cat installer-screenrc > $ROOT/etc/screenrc +cp -a DysonInstaller $ROOT/usr/install/ +sed -r "s/^codename *= *.*/codename = '${INSTALL_DIST}'/" \ + install > $ROOT/usr/install/install +chmod +x $ROOT/usr/install/install +sed -r "s/Dyson *Installer/Dyson '${INSTALL_DIST}' Installer/g" \ + installer-screenrc > $ROOT/etc/screenrc cat bash_profile > $ROOT/root/.bash_profile cat vimrc > $ROOT/root/.vimrc @@ -343,7 +348,7 @@ default=0 timeout=3 foreground=ffffff background=215ECA -title Dyson ($DIST) installer and LiveCD, $DATE +title Dyson LiveCD and '${INSTALL_DIST}' installer, $DATE kernel /platform/i86pc/kernel/amd64/unix module /boot/boot_archive.gz GRUB |