Magellan Linux

Diff of /trunk/mlivecdbuild/profiles/alx-0_7_branch/prepare_custom

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2120 by niro, Wed May 15 12:06:33 2013 UTC revision 2121 by niro, Thu May 16 13:20:55 2013 UTC
# Line 7  chroot ${CDCHROOTDIR} passwd -d root Line 7  chroot ${CDCHROOTDIR} passwd -d root
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}/ust/lib/systemd/system/mnt-cdrom.mount || die
12    ln -snf ../mnt-cdrom.mount ${CDCHROOTDIR}/ust/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
# Line 42  chroot ${LIVECDROOT}/install-temp passwd Line 46  chroot ${LIVECDROOT}/install-temp passwd
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

Legend:
Removed from v.2120  
changed lines
  Added in v.2121