#573 #603 #615: Adaptar herramientas boot-tools para poder generar un cliente ogLive basado en distribuciones Debian.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4146 a21b9725-9963-47de-94b9-378ad31fedc9remotes/github/master
parent
b3d380b9c7
commit
188060eb44
|
@ -1,4 +1,8 @@
|
|||
deb http://ftp.us.debian.org/debian lenny main contrib non-free
|
||||
deb http://ftp.es.debian.org/debian/ OSCODENAME main contrib non-free
|
||||
|
||||
deb http://security.debian.org/ OSCODENAME/updates main contrib non-free
|
||||
deb-src http://security.debian.org/ OSCODENAME/updates main contrib non-free
|
||||
|
||||
# DRBL
|
||||
deb http://free.nchc.org.tw/drbl-core drbl stable
|
||||
|
||||
deb http://security.debian.org/ lenny/updates main contrib non-free
|
||||
deb-src http://security.debian.org/ lenny/updates main contrib non-free
|
||||
|
|
|
@ -37,8 +37,8 @@ LERROR=TRUE
|
|||
|
||||
echo "$FUNCNAME: Iniciando la personalización con datos del SVN "
|
||||
|
||||
# parseamos del apt.source
|
||||
sed -e "s/OSCODENAME/$OSCODENAME/g" ${SVNCLIENTDIR}/includes/etc/apt/sources.list.ubuntu > ${SVNCLIENTDIR}/includes/etc/apt/sources.list
|
||||
# parseamos el apt.source de la distribución
|
||||
sed -e "s/OSCODENAME/$OSCODENAME/g" ${SVNCLIENTDIR}/includes/etc/apt/sources.list.$OSDISTRIB > ${SVNCLIENTDIR}/includes/etc/apt/sources.list
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "$FUNCNAME(): Parsing apt.sources : ERROR"
|
||||
|
|
|
@ -5,8 +5,7 @@ OGCLIENTCFG=${OGCLIENTCFG:-/tmp/ogclient.cfg}
|
|||
OSRELEASE=${OSRELEASE:-$(uname -a | awk '{print $3}')}
|
||||
|
||||
|
||||
cd /usr/lib/initramfs-tools/bin/
|
||||
rm *
|
||||
rm -f /usr/lib/initramfs-tools/bin/*
|
||||
cp /bin/busybox ./
|
||||
cd /tmp/
|
||||
mkinitramfs -o /tmp/initrd.img-$OSRELEASE -v $OSRELEASE
|
||||
|
|
Loading…
Reference in New Issue