From 960de852b7b482b809e012cb34a1797999e1aa2f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 5 Nov 2013 11:39:10 +0100 Subject: Adding initial stub for lb init. In the past, we had lb config for both creating a configuration directory and updating settings in there. With the rewrite in Python, we're now changing this finally to the more sane 'init' (create initial 'sample' configuration directory tree, taking most arguments that lb config did) and 'config' which will only be a get/set program to work on top of an already initialized configuration tree. --- scripts/build/config | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'scripts/build') diff --git a/scripts/build/config b/scripts/build/config index 670479def..7610d5e83 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -1350,19 +1350,6 @@ then Echo_warning "Make sure you are using the newest version at all times." fi -mkdir -p config/hooks -mkdir -p config/includes config/includes.bootstrap config/includes.chroot config/includes.binary config/includes.source - -Echo_message "Symlinking hooks..." - -for _HOOK in "${LIVE_BUILD}"/share/hooks/*.hook* /usr/share/live/build/hooks/*.hook* -do - if [ -e "${_HOOK}" ] && [ ! -e "config/hooks/$(basename ${_HOOK})" ] - then - ln -s "${_HOOK}" "config/hooks/$(basename ${_HOOK})" - fi -done - cat > config/build << EOF [Image] Architecture: ${LIVE_IMAGE_ARCHITECTURE} @@ -1475,17 +1462,5 @@ do fi done -case "${LB_SYSTEM}" in - live) - for _PACKAGE in live-boot live-config live-config-sysvinit - do - if ! grep -qs "${_PACKAGE}" config/package-lists/* - then - echo "${_PACKAGE}" >> config/package-lists/live.list.chroot - fi - done - ;; -esac - # Creating stage file Create_stagefile .build/config -- cgit v1.2.3