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 2119 by niro, Wed May 15 12:06:33 2013 UTC revision 2662 by niro, Thu Jul 3 11:07:29 2014 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}/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
# Line 15  install -m 0644 $(get_profile boot-durat Line 19  install -m 0644 $(get_profile boot-durat
19  # ${CDCHROOTDIR}/etc/splash/splash.conf  # ${CDCHROOTDIR}/etc/splash/splash.conf
20  #fi  #fi
21    
22    # setup de keymap and locales
23    if [ -f ${CDCHROOTDIR}/etc/vconsole.conf ]
24    then
25     cat > ${CDCHROOTDIR}/etc/vconsole.conf || die << EOF
26    KEYMAP=de
27    KEYMAP_TOGGLE=
28    FONT=lat9w-16
29    FONT_MAP=8859-1_to_uni
30    FONT_UNIMAP=
31    EOF
32    fi
33    if [ -f ${CDCHROOTDIR}/etc/locale.conf ]
34    then
35     sed -i "s:^\(LANG=\).*:\1\"de_DE.utf8\":" ${CDCHROOTDIR}/etc/locale.conf || die
36    fi
37    
38  # stop here if the user don't want to create the install tarball  # stop here if the user don't want to create the install tarball
39  [[ ! -z ${SKIP_CREATE_INSTALL_TARBALL} ]] && exit 0  [[ ! -z ${SKIP_CREATE_INSTALL_TARBALL} ]] && exit 0
40    
# Line 42  chroot ${LIVECDROOT}/install-temp passwd Line 62  chroot ${LIVECDROOT}/install-temp passwd
62  # add user station with empty password  # add user station with empty password
63  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
64    
65    # install xinitrc
66    echo 'exec startfluxbox' > ${LIVECDROOT}/install-temp/home/station/.xinitrc
67    
68  # fix hostname and hosts file  # fix hostname and hosts file
69  echo "alx-i486" > ${LIVECDROOT}/install-temp/etc/hostname  echo "alx-i486" > ${LIVECDROOT}/install-temp/etc/hostname
70  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.2119  
changed lines
  Added in v.2662