diff options
author | Daniel Baumann <daniel@debian.org> | 2011-09-07 15:59:48 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-09-07 15:59:48 +0200 |
commit | e82aa251347d0f6a55ed2c74e670631914249556 (patch) | |
tree | 4e0fe7a89032a576eee73386ff59dc34bc17b4e5 /scripts | |
parent | 65f626fe9cd4e8777b97490bed5ba373d681ca3b (diff) | |
download | vyos-live-build-e82aa251347d0f6a55ed2c74e670631914249556.tar.gz vyos-live-build-e82aa251347d0f6a55ed2c74e670631914249556.zip |
Renaming config/chroot_packages to config/packages.chroot.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/lb_chroot_apt | 4 | ||||
-rwxr-xr-x | scripts/build/lb_chroot_archives | 22 | ||||
-rwxr-xr-x | scripts/build/lb_chroot_install-packages | 8 | ||||
-rwxr-xr-x | scripts/build/lb_chroot_linux-image | 2 | ||||
-rwxr-xr-x | scripts/build/lb_chroot_packagelists | 4 | ||||
-rwxr-xr-x | scripts/build/lb_config | 2 |
6 files changed, 21 insertions, 21 deletions
diff --git a/scripts/build/lb_chroot_apt b/scripts/build/lb_chroot_apt index ab926aa43..2e00004c4 100755 --- a/scripts/build/lb_chroot_apt +++ b/scripts/build/lb_chroot_apt @@ -108,7 +108,7 @@ case "${1}" in cp config/chroot_apt/preferences chroot/etc/apt/preferences fi - if Find_files config/chroot_packages/*.deb + if Find_files config/packages.chroot/*.deb then echo >> chroot/etc/apt/preferences echo "# Added by lb_chroot_apt ${@}" >> chroot/etc/apt/preferences @@ -236,7 +236,7 @@ EOF fi fi - if Find_files config/chroot_packages/*.deb + if Find_files config/packages.chroot/*.deb then if [ -f chroot/etc/apt/preferences ] then diff --git a/scripts/build/lb_chroot_archives b/scripts/build/lb_chroot_archives index 2b185cd71..ab767abcb 100755 --- a/scripts/build/lb_chroot_archives +++ b/scripts/build/lb_chroot_archives @@ -277,39 +277,39 @@ EOF fi # Configure local package repository - if Find_files config/chroot_packages/*.deb + if Find_files config/packages.chroot/*.deb then rm -rf chroot/root/packages mkdir -p chroot/root/packages - if [ "$(stat --printf %d config/chroot_packages)" = "$(stat --printf %d chroot/root/packages)" ] + if [ "$(stat --printf %d config/packages.chroot)" = "$(stat --printf %d chroot/root/packages)" ] then CP_OPTIONS="-l" fi # Copy packages - if Find_files config/chroot_packages/*_"${LB_ARCHITECTURES}".deb + if Find_files config/packages.chroot/*_"${LB_ARCHITECTURES}".deb then - for FILE in config/chroot_packages/*_"${LB_ARCHITECTURES}".deb + for FILE in config/packages.chroot/*_"${LB_ARCHITECTURES}".deb do if [ -L "${FILE}" ] then - cp -L config/chroot_packages/*_"${LB_ARCHITECTURES}".deb chroot/root/packages + cp -L config/packages.chroot/*_"${LB_ARCHITECTURES}".deb chroot/root/packages else - cp ${CP_OPTIONS} config/chroot_packages/*_"${LB_ARCHITECTURES}".deb chroot/root/packages + cp ${CP_OPTIONS} config/packages.chroot/*_"${LB_ARCHITECTURES}".deb chroot/root/packages fi done fi - if Find_files config/chroot_packages/*_all.deb + if Find_files config/packages.chroot/*_all.deb then - for FILE in config/chroot_packages/*_all.deb + for FILE in config/packages.chroot/*_all.deb do if [ -L "${FILE}" ] then - cp -L config/chroot_packages/*_all.deb chroot/root/packages + cp -L config/packages.chroot/*_all.deb chroot/root/packages else - cp ${CP_OPTIONS} config/chroot_packages/*_all.deb chroot/root/packages + cp ${CP_OPTIONS} config/packages.chroot/*_all.deb chroot/root/packages fi done fi @@ -432,7 +432,7 @@ EOF if Find_files chroot/root/packages/*.deb then gunzip < chroot/root/packages/Packages.gz | awk '/^Package: / { print $2 }' \ - >> chroot/root/chroot_packages + >> chroot/root/packages.chroot fi # Update indices from cache diff --git a/scripts/build/lb_chroot_install-packages b/scripts/build/lb_chroot_install-packages index cd3c17825..37d055a91 100755 --- a/scripts/build/lb_chroot_install-packages +++ b/scripts/build/lb_chroot_install-packages @@ -42,7 +42,7 @@ Check_lockfile .lock # Creating lock file Create_lockfile .lock -if [ -e chroot/root/chroot_packages ] && [ -s chroot/root/chroot_packages ] +if [ -e chroot/root/packages.chroot ] && [ -s chroot/root/packages.chroot ] then # Restoring cache Restore_cache cache/packages_chroot @@ -50,16 +50,16 @@ then # Installing packages case "${LB_APT}" in apt|apt-get) - Chroot chroot "xargs --arg-file=/root/chroot_packages apt-get ${APT_OPTIONS} install" + Chroot chroot "xargs --arg-file=/root/packages.chroot apt-get ${APT_OPTIONS} install" ;; aptitude) - Chroot chroot "xargs --arg-file=/root/chroot_packages aptitude ${APTITUDE_OPTIONS} install" + Chroot chroot "xargs --arg-file=/root/packages.chroot aptitude ${APTITUDE_OPTIONS} install" ;; esac # Tidying up - rm -f chroot/root/chroot_packages + rm -f chroot/root/packages.chroot # Saving cache Save_cache cache/packages_chroot diff --git a/scripts/build/lb_chroot_linux-image b/scripts/build/lb_chroot_linux-image index e060ff3e6..a65527755 100755 --- a/scripts/build/lb_chroot_linux-image +++ b/scripts/build/lb_chroot_linux-image @@ -49,7 +49,7 @@ then do for PACKAGE in ${LB_LINUX_PACKAGES} do - echo ${PACKAGE}-${FLAVOUR} >> chroot/root/chroot_packages + echo ${PACKAGE}-${FLAVOUR} >> chroot/root/packages.chroot done done diff --git a/scripts/build/lb_chroot_packagelists b/scripts/build/lb_chroot_packagelists index 5982ed739..615b4d79a 100755 --- a/scripts/build/lb_chroot_packagelists +++ b/scripts/build/lb_chroot_packagelists @@ -47,7 +47,7 @@ then for LIST in ${LB_PACKAGE_LISTS} do # Generating package list - Expand_packagelist "${LIST}" >> chroot/root/chroot_packages + Expand_packagelist "${LIST}" >> chroot/root/packages.chroot done # Creating stage file @@ -67,7 +67,7 @@ then then # Generating package list Expand_packagelist "$(basename ${LIST})" "config/package-lists" \ - >> chroot/root/chroot_packages + >> chroot/root/packages.chroot fi done diff --git a/scripts/build/lb_config b/scripts/build/lb_config index 7ac14c5f7..a1b2a0e65 100755 --- a/scripts/build/lb_config +++ b/scripts/build/lb_config @@ -1163,7 +1163,7 @@ mkdir -p config/chroot_apt mkdir -p config/hooks mkdir -p config/local.chroot mkdir -p config/chroot_local-patches -mkdir -p config/chroot_packages +mkdir -p config/packages.chroot mkdir -p config/package-lists mkdir -p config/chroot_local-preseed mkdir -p config/task-lists |