Commit d4b4ecaf authored by arpinux's avatar arpinux
Browse files

correction du sources.list pour la version non-free

parent 0541f818
......@@ -44,6 +44,8 @@ pour chaque architecture (récupérées lors du build)
génération des torrents pour nakeDeb (récupéré lors du build)
- [ressources/nakedpreseed](/ressources/nakedpreseed) : le fichier de
configuration preseed pour nakeDeb (récupéré lors du build)
- [ressources/nonfree.list](/ressources/nonfree.list) : le fichier sources.list
pour les version non-free et full (récupéré lors du build)
- [ressources/trackers.txt](ressources/trackers.txt) : liste des trackers
publics à coller lors de la création des .torrents
......
......@@ -63,15 +63,14 @@ fi
# ouverture du fichier de log avec les informations sur le système hôte
echo -e "----\n${PROJECT} - ${HOMEPAGE} - ${CONTACT}" > ${LOG}
echo -e "$(date)" >> ${LOG}
echo -e "building ${VERSION} ${ARCH} ${DISTRO}" >> ${LOG}
echo -e "system: $(uname -a)" >> ${LOG}
echo -e "tools: live-build-$(lb -v) - Debian-$(cat /etc/debian_version)" >> ${LOG}
if [ "$2" == "nf" ]; then
echo -e "> building non-free release" >> ${LOG}
echo -e "> building ${VERSION} ${ARCH} ${DISTRO} non-free" >> ${LOG}
elif [ "$2" == "full" ]; then
echo -e "> building non-free full release" >> ${LOG}
echo -e "> building ${VERSION} ${ARCH} ${DISTRO} non-free full" >> ${LOG}
else
echo -e "> building main release" >> ${LOG}
echo -e "> building ${VERSION} ${ARCH} ${DISTRO} main" >> ${LOG}
fi
# setup veracrypt ------------------------------------------------------
......@@ -89,6 +88,12 @@ tar zxf ${VERA}_${ARCH}.tar.gz
rm ${VERA}_${ARCH}.tar.gz
EOF
# setup non-free/full options ------------------------------------------
if [ "$2" == "nf" ] || [ "$2" == "full" ]; then
echo -e "----\nINFO: setting up non-free sources.list" >> ${LOG}
mkdir -p config/includes.chroot/etc/apt/sources.list.d
cp ${NKDIR}/ressources/nonfree.list ${NKDIR}/config/includes.chroot/etc/apt/sources.list.d/
fi
# setup preseed --------------------------------------------------------
# mise en place du fichier de pré-configuration de l'installateur debian.
echo -e "----\nINFO: setting up naked preseed" >> ${LOG}
......
......@@ -2,7 +2,7 @@
# set sources.list
mv /etc/apt/sources.list /etc/apt/sources.list.debian
mv /etc/apt/nakedeb.list /etc/apt/sources.list
mv /etc/apt/bullseye.list /etc/apt/sources.list
# set GRUB background
echo "GRUB_BACKGROUND=\"/usr/share/images/grub/nakedeb.tga\"" >> /etc/default/grub
......
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