7 |
install -d ${CDCHROOTDIR}/var/lib/plymouth || die |
install -d ${CDCHROOTDIR}/var/lib/plymouth || die |
8 |
install -m 0644 $(get_profile boot-duration.livecd) ${CDCHROOTDIR}/var/lib/plymouth/boot-duration || die |
install -m 0644 $(get_profile boot-duration.livecd) ${CDCHROOTDIR}/var/lib/plymouth/boot-duration || die |
9 |
|
|
10 |
|
# install mnt-cdrom mount service, should be provided by alxinstall-ng |
11 |
|
install -m 0644 $(get_profile mnt-cdrom.mount) ${CDCHROOTDIR}/usr/lib/systemd/system/mnt-cdrom.mount || die |
12 |
|
ln -snf ../mnt-cdrom.mount ${CDCHROOTDIR}/usr/lib/systemd/system/local-fs.target.wants/mnt-cdrom.mount || die |
13 |
|
|
14 |
# disable splash X11 vt change and set splash to be always verbose |
# disable splash X11 vt change and set splash to be always verbose |
15 |
#if [[ -f ${CDCHROOTDIR}/etc/splash/splash.conf ]] |
#if [[ -f ${CDCHROOTDIR}/etc/splash/splash.conf ]] |
16 |
#then |
#then |
46 |
# add user station with empty password |
# add user station with empty password |
47 |
chroot ${LIVECDROOT}/install-temp adduser -G users -h /home/station -s /bin/bash -D station |
chroot ${LIVECDROOT}/install-temp adduser -G users -h /home/station -s /bin/bash -D station |
48 |
|
|
49 |
|
# install xinitrc |
50 |
|
echo 'exec startfluxbox' > ${LIVECDROOT}/install-temp/home/station/.xinitrc |
51 |
|
|
52 |
# fix hostname and hosts file |
# fix hostname and hosts file |
53 |
echo "alx-i486" > ${LIVECDROOT}/install-temp/etc/hostname |
echo "alx-i486" > ${LIVECDROOT}/install-temp/etc/hostname |
54 |
echo "127.0.0.1 localhost alx-i486.magellan-linux.de alx-i486" > ${LIVECDROOT}/install-temp/etc/hosts |
echo "127.0.0.1 localhost alx-i486.magellan-linux.de alx-i486" > ${LIVECDROOT}/install-temp/etc/hosts |