2011-03-29 14:49:50 +02:00
|
|
|
# switch to sabayon-weekly repository if the ISO is not a DAILY one
|
|
|
|
# BUILDING_DAILY is set in scripts/daily_iso_build.sh
|
|
|
|
if [ -z "${BUILDING_DAILY}" ]; then
|
|
|
|
# only the first occurence
|
2011-04-08 14:40:47 +02:00
|
|
|
repo_conf="${CHROOT_DIR}/etc/entropy/repositories.conf"
|
2011-03-29 14:49:50 +02:00
|
|
|
sed -i "/^repository =/ s/sabayonlinux.org/sabayon-weekly/" "${repo_conf}" || exit 1
|
|
|
|
sed -i "/^officialrepositoryid/ s/sabayonlinux.org/sabayon-weekly/" "${repo_conf}" || exit 1
|
|
|
|
sed -i "/^official-repository-id/ s/sabayonlinux.org/sabayon-weekly/" "${repo_conf}" || exit 1
|
|
|
|
fi
|
2011-07-10 11:30:23 +02:00
|
|
|
|
|
|
|
# remove entropy hwash
|
|
|
|
rm -f "${CHROOT_DIR}"/etc/entropy/.hw.hash
|