Magellan Linux

Diff of /trunk/mlivecdbuild/profiles/knoppix/prepare_custom

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

revision 361 by niro, Mon Mar 27 21:23:55 2006 UTC revision 652 by niro, Sun Jan 13 12:13:36 2008 UTC
# Line 10  install -m 0644 $(get_profile custom-fil Line 10  install -m 0644 $(get_profile custom-fil
10    
11  # language locales  # language locales
12  install -m 0644 $(get_profile custom-files/35locale) ${CDCHROOTDIR}/etc/env.d/ || die  install -m 0644 $(get_profile custom-files/35locale) ${CDCHROOTDIR}/etc/env.d/ || die
13    # enable the locale (needed with >=glibc-2.5)
14    if [[ -x ${CDCHROOTDIR}/usr/sbin/locale-gen ]]
15    then
16     source $(get_profile custom-files/35locale)
17     sed -i "s:^#${LC_ALL}:${LC_ALL}:g" ${CDCHROOTDIR}/etc/locale.gen
18     chroot ${CDCHROOTDIR} locale-gen
19    fi
20  chroot ${CDCHROOTDIR} env-rebuild  chroot ${CDCHROOTDIR} env-rebuild
21    
22  # add magellan user  # add magellan user
23  chroot ${CDCHROOTDIR} useradd -m -g users -G audio,wheel,cdrom,video,cdrw,usb,games -s /bin/bash magellan  chroot ${CDCHROOTDIR} useradd -m -g users -G audio,wheel,cdrom,video,cdrw,usb,games,plugdev -s /bin/bash magellan
24  # set password to 'magellan'  # set password to 'magellan'
25  chroot ${CDCHROOTDIR} usermod -p $(openssl passwd -1 magellan) magellan  chroot ${CDCHROOTDIR} usermod -p $(openssl passwd -1 magellan) magellan

Legend:
Removed from v.361  
changed lines
  Added in v.652