Magellan Linux

Contents of /branches/mlivecdbuild-1_x_branch/profiles/inet-i686/prepare_custom

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2679 - (show annotations) (download)
Thu Jul 10 07:42:40 2014 UTC (9 years, 11 months ago) by niro
File size: 1276 byte(s)
created branch 'mlivecdbuild-1_x_branch'
1 #!/bin/bash
2
3 # setup default kde behavior
4 install -m 0644 $(get_profile custom-files/kdmrc) ${CDCHROOTDIR}/usr/share/config/kdm/ || die
5 install -m 0644 $(get_profile custom-files/kdeglobals) ${CDCHROOTDIR}/usr/share/config/ || die
6 install -m 0644 $(get_profile custom-files/kdesktoprc) ${CDCHROOTDIR}/usr/share/config/ || die
7 install -m 0644 $(get_profile custom-files/kickerrc) ${CDCHROOTDIR}/usr/share/config/ || die
8 install -m 0644 $(get_profile custom-files/ktiprc) ${CDCHROOTDIR}/usr/share/config/ || die
9 install -m 0644 $(get_profile custom-files/kpersonalizerrc) ${CDCHROOTDIR}/usr/share/config/ || die
10
11 # language locales
12 install -m 0644 $(get_profile custom-files/35locale) ${CDCHROOTDIR}/etc/env.d/ || die
13 chroot ${CDCHROOTDIR} env-rebuild
14
15 if [[ -f ${CDCHROOTDIR}/etc/locale.gen ]]
16 then
17 # generate locales
18 sed -i "s:#de_DE:de_DE:g" ${CDCHROOTDIR}/etc/locale.gen || die
19 chroot ${CDCHROOTDIR} locale-gen
20 fi
21
22 # augusta firefox settings
23 install -m 0644 $(get_profile custom-files/augusta-prefs.js) ${CDCHROOTDIR}/usr/lib/mozilla-firefox/defaults/pref/ || die
24
25 # add internet user
26 chroot ${CDCHROOTDIR} useradd -m -g users -G audio,video,games -s /bin/bash internet
27 # set password to 'internet'
28 chroot ${CDCHROOTDIR} usermod -p $(openssl passwd -1 internet) internet