Browse Source

trusty fixes, remove legacy grub

fixes #84
tags/0.2
Devrandom 6 years ago
parent
commit
7d1e7c5419
2 changed files with 4 additions and 1 deletions
  1. 1
    1
      bin/gbuild
  2. 3
    0
      target-bin/grab-packages.sh

+ 1
- 1
bin/gbuild View File

@@ -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
- 0
target-bin/grab-packages.sh View File

@@ -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