trusty fixes, remove legacy grub

fixes #84
lxc
Devrandom 9 years ago
parent b4201676d8
commit 7d1e7c5419

@ -96,7 +96,7 @@ def build_one_configuration(suite, arch, build_desc, reference_datetime)
info "Installing additional packages (log in var/install.log)"
system! "on-target -u root -e DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install #{build_desc["packages"].join(" ")} > var/install.log 2>&1"
info "Grabbing package manifest"
info "Downloading system packages and creating manifest. This may take a while."
system! "on-target -u root bash < target-bin/grab-packages.sh > var/base-#{suitearch}.manifest"
info "Creating build script (var/build-script)"

@ -8,5 +8,8 @@ cd /var/cache/apt/archives
#apt-get clean
# remove obsolete grub, it causes package dependency issues
apt-get -y purge grub > /dev/null || true
dpkg-query -W -f '${Package}\n' | xargs -n 50 apt-get install --reinstall -y -d > /dev/null
sha256sum *.deb | sort --key 2

Loading…
Cancel
Save