--- trunk/mlivecdbuild/profiles/alx-0_7_branch/prepare_custom 2013/05/16 13:19:35 2120 +++ trunk/mlivecdbuild/profiles/alx-0_7_branch/prepare_custom 2013/05/16 13:20:55 2121 @@ -7,6 +7,10 @@ install -d ${CDCHROOTDIR}/var/lib/plymouth || die install -m 0644 $(get_profile boot-duration.livecd) ${CDCHROOTDIR}/var/lib/plymouth/boot-duration || die +# install mnt-cdrom mount service, should be provided by alxinstall-ng +install -m 0644 $(get_profile mnt-cdrom.mount) ${CDCHROOTDIR}/ust/lib/systemd/system/mnt-cdrom.mount || die +ln -snf ../mnt-cdrom.mount ${CDCHROOTDIR}/ust/lib/systemd/system/local-fs.target.wants/mnt-cdrom.mount || die + # disable splash X11 vt change and set splash to be always verbose #if [[ -f ${CDCHROOTDIR}/etc/splash/splash.conf ]] #then @@ -42,6 +46,9 @@ # add user station with empty password chroot ${LIVECDROOT}/install-temp adduser -G users -h /home/station -s /bin/bash -D station +# install xinitrc +echo 'exec startfluxbox' > ${LIVECDROOT}/install-temp/home/station/.xinitrc + # fix hostname and hosts file echo "alx-i486" > ${LIVECDROOT}/install-temp/etc/hostname echo "127.0.0.1 localhost alx-i486.magellan-linux.de alx-i486" > ${LIVECDROOT}/install-temp/etc/hosts