ONIE: do not use package cache, only runs on host

Gbp-Dch: Ignore
This commit is contained in:
Luca Boccassi 2018-04-04 20:30:43 +01:00
parent a0335ac4a4
commit 050e637b2c
1 changed files with 0 additions and 12 deletions

View File

@ -66,12 +66,6 @@ Check_package host /usr/bin/xz xz-utils
Check_package host /bin/bzcat bzip2 Check_package host /bin/bzcat bzip2
Check_package host /bin/bzip2 bzip2 Check_package host /bin/bzip2 bzip2
# Restoring cache
Restore_cache cache/packages.binary
# Installing depends
Install_package
### Adds needed helper script ### Adds needed helper script
## Based on https://github.com/opencomputeproject/onie/blob/master/contrib/debian-iso/sharch_body.sh ## Based on https://github.com/opencomputeproject/onie/blob/master/contrib/debian-iso/sharch_body.sh
cat > sharch_body.sh << EOF cat > sharch_body.sh << EOF
@ -340,11 +334,5 @@ echo " Done."
ls -la $(basename $output_file) ls -la $(basename $output_file)
Echo_message "onie-installer created..." Echo_message "onie-installer created..."
# Saving cache
Save_cache cache/packages.binary
# Removing depends
Remove_package
# Creating stage file # Creating stage file
Create_stagefile .build/binary_onie Create_stagefile .build/binary_onie