ONIE: Check_package in the host, not the chroot
The binary_onie script works on the host, not in the chroot (if used), so don't check that the required packages for the script are installed in the chroot (if present) as they won't be useful. Check instead on the host.
This commit is contained in:
parent
44e0d3520e
commit
2aff516e1f
|
@ -56,14 +56,14 @@ Check_lockfile .lock
|
|||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
Check_package chroot /bin/cpio cpio
|
||||
Check_package chroot /usr/bin/sha1sum coreutils
|
||||
Check_package chroot /bin/zcat gzip
|
||||
Check_package chroot /bin/gzip gzip
|
||||
Check_package chroot /usr/bin/xzcat xz-utils
|
||||
Check_package chroot /usr/bin/xz xz-utils
|
||||
Check_package chroot /bin/bzcat bzip2
|
||||
Check_package chroot /bin/bzip2 bzip2
|
||||
Check_package host /bin/cpio cpio
|
||||
Check_package host /usr/bin/sha1sum coreutils
|
||||
Check_package host /bin/zcat gzip
|
||||
Check_package host /bin/gzip gzip
|
||||
Check_package host /usr/bin/xzcat xz-utils
|
||||
Check_package host /usr/bin/xz xz-utils
|
||||
Check_package host /bin/bzcat bzip2
|
||||
Check_package host /bin/bzip2 bzip2
|
||||
|
||||
# Restoring cache
|
||||
Restore_cache cache/packages.binary
|
||||
|
|
Loading…
Reference in New Issue