[pkg-fso-maint] following advise to use apt
Steffen Moeller
steffen_moeller at gmx.de
Sat Aug 22 23:20:23 UTC 2009
Hello, with db17b429541b1fd2885a0da35830c385411cfcdd I am following waldi's comment and
Joachim's interpretation to use apt for the extra packages. Feel free reverse if not
liked. It has worked for me (without the install-info package being explicitly listed).
I am slightly worried about the patch since it changes the semantics of the "debian"
install.sh target, which has now parts done with apt.
Cheers,
Steffen
Installing CDEBOOTSTRAP_EXTRA packages with apt.
---------------------------------- install.sh ----------------------------------
index 7fa7c87..397bd79 100755
@@ -811,10 +811,11 @@ action_debian () {
CDEBOOTSTRAP_EXTRA_FLAGS="$CDEBOOTSTRAP_EXTRA_FLAGS -v"
fi
cdebootstrap-static $CDEBOOTSTRAP_EXTRA_FLAGS --allow-unauthenticated --flavour
$CDEBOOTSTRAP_FLAVOUR \
- --include=$CDEBOOTSTRAP_EXTRA_PACKAGES \
--exclude=$CDEBOOTSTRAP_EXCLUDE_PACKAGES sid "$INST_DIR" $INST_MIRROR
+ # Bug #542955 (won't fix) directs us to use apt-get for versioned (direct or indirect)
dependencies
+ # The CDEBOOTSTRAP_EXTRA_PACKAGES are consequently installed in the action_apt
- echo "I: Basic Debian system installed"
+ echo "I: Basic Debian system installed - please also install apt"
}
@@ -863,6 +864,9 @@ __END__
echo " * Installing pkg-fso keyring"
chroot $INST_DIR apt-get $APT_OPTIONS install pkg-fso-keyring
+ echo " * Completing install of Debian basic packages to circumvent bug #542955"
+ chroot "$INST_DIR" apt-get $APT_OPTIONS install $(echo $CDEBOOTSTRAP_EXTRA_PACKAGES | tr
"," " ")
+
echo " * Cleaning APT cache"
chroot $INST_DIR apt-get clean
More information about the pkg-fso-maint
mailing list