mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
Add an --arch option to build_image.sh, passed to install_packages.sh. Use it to set APT::Architecture. Add --mirror2/--suite2 options to build_image.sh, and --server2/--suite2 options to install_packages.sh (differing option names to match options that were there already). This allows some of the packages to be pulled from ports.ubuntu.com rather than from local_packages, like this: ./build_image.sh --arch armel --mirror2 http://ports.ubuntu.com/ubuntu-ports --suite2 karmic Copy only .debs from local_packages, not whatever other junk might be lying around there. Use copy: rather than file: for local_packages, so that the files will be copied into the apt cache directory for the benefit of dpkg_no_scripts.sh. Review URL: http://codereview.chromium.org/554031
Description
Languages
Shell
93.1%
Python
6.9%