~smoser/ubuntu/zesty/curtin/pkg

« back to all changes in this revision

Viewing changes to helpers/list-flash-kernel-packages

  • Committer: Scott Moser
  • Date: 2016-12-01 22:15:21 UTC
  • mfrom: (1.1.42)
  • Revision ID: smoser@ubuntu.com-20161201221521-roe9tpu04amkwsts
* New upstream snapshot.
  - Workaround failures caused by gpg2 daemons left running in chroot.
    (LP: #1645680)
  - Install u-boot-tools when running on a system with u-boot.
    (LP: #1640519)
  - block: fix partition kname for raid devices  (LP: #1641661)
  - Fix up tox errors that slipped in and new pycodestyle 2.1.0 complaints.
  - vmtests: adjust vmtest image sync metadata filenames
  - vmtests: Add centos support
  - Disable WilyTestRaid5Bcache vmtest
  - tools/xkvm: fix --netdev=<bridge>
  - bytes2human: fix for values larger than 32 bit int on 32 bit python2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
# Return the list of packages flash-kernel requires for this machine if
 
3
# supported. If not supported return a non-zero return code.
 
4
 
 
5
FK_DIR=/usr/share/flash-kernel
 
6
. ${FK_DIR}/functions
 
7
 
 
8
machine="$(get_cpuinfo_hardware)"
 
9
check_supported "${machine}"
 
10
# get_machine_field gives a non-zero return code when no additional packages
 
11
# are required. Ignore it so the script succeeds allowing just flash-kernel to
 
12
# be installed in the target.
 
13
get_machine_field "${machine}" "Required-Packages" ||: