Commit 349076d1 authored by Daniel Bissani Furlin's avatar Daniel Bissani Furlin
Browse files

Issue SCRUM#255: add option to install ubiquity from our repo

parent 2d036c1b
......@@ -42,7 +42,7 @@ source ${PREFIX}/common.sh
cat ${DPLIST} | grep -v '^#' | tr '\n' ''
addToChrootFile $CHROOTFILE "env PATH='/fakebin:${PATH}'"
addToChrootFile $CHROOTFILE "export DEBIAN_FRONTEND=noninteractive"
addToChrootFile $CHROOTFILE "apt-get update && apt-get -q -y install $(cat ${DPLIST} | grep -v '^#' | tr '\n' ' ')"
addToChrootFile $CHROOTFILE "apt-get update && apt-get -q -y -t testing install $(cat ${DPLIST} | grep -v '^#' | tr '\n' ' ')"
initChroot $_DIST || \
log ERROR "failed to initialize chroot."
execChroot $CHROOTFILE $CHROOTDIR
......
......@@ -41,7 +41,7 @@ source ${PREFIX}/common.sh
addToChrootFile $CHROOTFILE "env PATH='/fakebin:${PATH}'"
addToChrootFile $CHROOTFILE "export DEBIAN_FRONTEND=noninteractive"
addToChrootFile $CHROOTFILE "apt-get update && apt-get -q -y install le-live-all"
addToChrootFile $CHROOTFILE "apt-get update && apt-get -q -y install $(cat ${INSTLIST} | grep -v '^#' | tr '\n' ' ')"
addToChrootFile $CHROOTFILE "apt-get update && apt-get -q -y -t testing install le-live-all"
addToChrootFile $CHROOTFILE "apt-get update && apt-get -q -y -t testing install $(cat ${INSTLIST} | grep -v '^#' | tr '\n' ' ')"
exit 0
......@@ -48,7 +48,7 @@ cp src/isolinux.txt ${TMP}/image/isolinux/ || exit 1
cp src/isolinux/* ${TMP}/image/isolinux/ || exit 1
cp -r src/pool ${TMP}/image/ || exit 1
cp -r src/dists ${TMP}/image/ || exit 1
cp src/preferences ${CHROOTDIR}/etc/apt/
#cp src/preferences ${CHROOTDIR}/etc/apt/
cp src/keyboard ${CHROOTDIR}/etc/default/
printf $(sudo du -sx --block-size=1 ${CHROOTDIR} | cut -f1) > ${TMP}image/casper/filesystem.size || exit 1
cp src/README.diskdefines ${TMP}/image/ || exit 1
......
......@@ -47,5 +47,6 @@ cp ${OURSOURCESLIST} ${CHROOTDIR}/etc/apt/sources.list.d/
addToChrootFile $CHROOTFILE "wget -O- http://repo.c3sl.ufpr.br/le6/le.c3sl.ufpr.br.key | apt-key add -"
addToChrootFile $CHROOTFILE "apt-get update"
addToChrootFile $CHROOTFILE "apt-get -y dist-upgrade"
exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment