Annotation of /trunk/mlivecdbuild/profiles/inet-i686/prepare_custom
Parent Directory | Revision Log
Revision 476 -
(hide annotations)
(download)
Mon Apr 23 15:21:35 2007 UTC (17 years, 1 month ago) by niro
File size: 1276 byte(s)
Mon Apr 23 15:21:35 2007 UTC (17 years, 1 month ago) by niro
File size: 1276 byte(s)
augusta-inet pc profile
1 | niro | 476 | #!/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 |