Contents of /trunk/mlivecdbuild/profiles/install-i686/prepare_custom
Parent Directory | Revision Log
Revision 854 -
(show annotations)
(download)
Wed May 6 10:48:39 2009 UTC (15 years, 4 months ago) by niro
File size: 549 byte(s)
Wed May 6 10:48:39 2009 UTC (15 years, 4 months ago) by niro
File size: 549 byte(s)
-added more profiles
1 | #!/bin/sh |
2 | |
3 | # enable all locales for the installer (needed with >=glibc-2.5) |
4 | if [[ -x ${CDCHROOTDIR}/usr/sbin/locale-gen ]] |
5 | then |
6 | sed -i "s:^#\([a-z][a-z].*_[A-Z].*\):\1:g" ${CDCHROOTDIR}/etc/locale.gen |
7 | |
8 | # fix broken locales |
9 | for i in ca_FT sr_CS |
10 | do |
11 | sed -i "s:^${i}:#${i}:g" ${CDCHROOTDIR}/etc/locale.gen |
12 | done |
13 | |
14 | chroot ${CDCHROOTDIR} locale-gen |
15 | fi |
16 | |
17 | # installer environment |
18 | cat > ${CDCHROOTDIR}/etc/env.d/99installer << EOF |
19 | PATH="/usr/installer/bin" |
20 | ROOTPATH="/usr/installer/bin" |
21 | LDPATH="/usr/installer/lib" |
22 | EOF |
23 | chroot ${CDCHROOTDIR} env-rebuild |