#!/bin/sh -efu
# configure package repository of the image (provided by sub/main);
# this script will be run iff both live and repo features are used
[ -n "$GLOBAL_REPO_MAIN" ] || exit 0
DIR=/etc/apt/sources.list.d
mkdir -p $DIR && {
echo "# for real stuff you'll need full repo, see apt-repo"
echo "rpm file:/srv/ ALT main"
} > $DIR/main.list
-
Anton Midyukov authored
This variable blocks the enable of online repositories and activates the enable of RPMS.main repository in iso or rootfs. The old name was misleading.
3dfe3f93