From fe3333bcb6b6ae661b66bf817d1b48168a424a34 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 22 Oct 2012 20:27:13 +0200 Subject: Renaming config/chroot_apt to simply config/apt. Eventually lb_chroot_apt will be folded into chroot_archives but that's left for after wheezy. --- scripts/build/chroot_apt | 24 ++++++++++++------------ scripts/build/config | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'scripts') diff --git a/scripts/build/chroot_apt b/scripts/build/chroot_apt index f3cf3a7ac..62fbd4e67 100755 --- a/scripts/build/chroot_apt +++ b/scripts/build/chroot_apt @@ -87,30 +87,30 @@ case "${1}" in esac # Configuring apt config - if [ -f config/chroot_apt/apt.conf ] + if [ -f config/apt/apt.conf ] then if [ -f chroot/etc/apt/apt.conf ] then mv chroot/etc/apt/apt.conf chroot/etc/apt/apt.conf.orig fi - cp config/chroot_apt/apt.conf chroot/etc/apt/apt.conf + cp config/apt/apt.conf chroot/etc/apt/apt.conf fi # Configuring apt preferences - if [ -f config/chroot_apt/preferences ] + if [ -f config/apt/preferences ] then if [ -f chroot/etc/apt/preferences ] then mv chroot/etc/apt/preferences chroot/etc/apt/preferences.orig fi - cp config/chroot_apt/preferences chroot/etc/apt/preferences + cp config/apt/preferences chroot/etc/apt/preferences fi - if Find_files config/chroot_apt/*.pref + if Find_files config/apt/*.pref then - for _FILE in config/chroot_apt/*.pref + for _FILE in config/apt/*.pref do if [ -f chroot/etc/apt/preferences.d/$(basename ${_FILE}) ] then @@ -256,14 +256,14 @@ EOF fi # Configuring apt config - if [ -f config/chroot_apt/apt.conf ] + if [ -f config/apt/apt.conf ] then if [ -f chroot/etc/apt/apt.conf ] then mv chroot/etc/apt/apt.conf chroot/etc/apt/apt.conf.orig fi - cp config/chroot_apt/apt.conf chroot/etc/apt/apt.conf + cp config/apt/apt.conf chroot/etc/apt/apt.conf if [ -f chroot/etc/apt/apt.conf.orig ] then @@ -272,14 +272,14 @@ EOF fi # Deconfiguring apt preferences - if [ -f config/chroot_apt/preferences ] + if [ -f config/apt/preferences ] then if [ -f chroot/etc/apt/preferences ] then mv chroot/etc/apt/preferences chroot/etc/apt/preferences.orig fi - cp config/chroot_apt/preferences chroot/etc/apt/preferences + cp config/apt/preferences chroot/etc/apt/preferences if [ -f chroot/etc/apt/preferences.orig ] then @@ -287,9 +287,9 @@ EOF fi fi - if Find_files config/chroot_apt/*.pref + if Find_files config/apt/*.pref then - for _FILE in config/chroot_apt/*.pref + for _FILE in config/apt/*.pref do if [ -f chroot/etc/apt/preferences.d/$(basename ${_FILE}) ] then diff --git a/scripts/build/config b/scripts/build/config index 1b9671043..c7a217a7d 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -190,7 +190,7 @@ Local_arguments () Print_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source # Dump contents of directories that contain text files - for DIRECTORY in config/package-lists config/chroot_apt config/preseed config/binary_rootfs + for DIRECTORY in config/package-lists config/apt config/preseed config/binary_rootfs do if Find_files "${DIRECTORY}" then @@ -1224,7 +1224,7 @@ EOF # Creating lb_chroot_* configuration mkdir -p config/archives -mkdir -p config/chroot_apt +mkdir -p config/apt mkdir -p config/hooks mkdir -p config/includes.chroot mkdir -p config/packages -- cgit v1.2.3