Browse Source

trusty fixes, remove legacy grub

fixes #84
pull/90/head
Devrandom 8 years ago
parent
commit
7d1e7c5419
  1. 2
      bin/gbuild
  2. 3
      target-bin/grab-packages.sh

2
bin/gbuild

@ -96,7 +96,7 @@ def build_one_configuration(suite, arch, build_desc, reference_datetime) @@ -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)"

3
target-bin/grab-packages.sh

@ -8,5 +8,8 @@ cd /var/cache/apt/archives @@ -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