Magellan Linux

Annotation of /trunk/mlivecdbuild/profiles/install-x86_64-svn/prepare_custom

Parent Directory Parent Directory | Revision Log Revision Log


Revision 856 - (hide annotations) (download)
Wed May 6 10:51:01 2009 UTC (15 years ago) by niro
File size: 549 byte(s)
-aded install-x86_64-svn profile

1 niro 856 #!/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