Output sources.list

This commit is contained in:
Fierelier 2022-08-08 21:20:14 +02:00
parent 753ab2d496
commit 85921322c4
2 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,8 @@ set +e
if ! [ -d "$OPUS_IMAGEDIR_FINAL" ]; then
echo "Copying base image ..."
cp -a "$OPUS_IMAGEDIR_BASE" "$OPUS_IMAGEDIR_FINAL-tmp"
echo "$OPUS_SOURCES" > "$OPUS_IMAGEDIR_FINAL-tmp/etc/apt/sources.list"
# Hardware
source apply-mod "$OPUS_HOME/mods/kernel" "$OPUS_IMAGEDIR_FINAL-tmp"
source apply-mod "$OPUS_HOME/mods/firmware-free" "$OPUS_IMAGEDIR_FINAL-tmp"

View File

@ -35,6 +35,8 @@ set +e
if ! [ -d "$OPUS_IMAGEDIR_FINAL" ]; then
echo "Copying base image ..."
cp -a "$OPUS_IMAGEDIR_BASE" "$OPUS_IMAGEDIR_FINAL-tmp"
echo "$OPUS_SOURCES" > "$OPUS_IMAGEDIR_FINAL-tmp/etc/apt/sources.list"
# Hardware
source apply-mod "$OPUS_HOME/mods/kernel" "$OPUS_IMAGEDIR_FINAL-tmp"
source apply-mod "$OPUS_HOME/mods/firmware-free" "$OPUS_IMAGEDIR_FINAL-tmp"