This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb http://example.com/jessie jessie main | |
deb http://example.com/jessie-security jessie main | |
deb http://example.com/jessie jessie-updates main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This script was taken from debootstrap version 0.2.45-0.2, adapted with several changes to match the corresponding changes to "potato" since it was removed, and then hacked to avoid invoking "init u" in postinst scripts (which tries to send SIGHUP to PID 1). | |
# | |
mirror_style main | |
download_style apt var-state | |
default_mirror http://archive.debian.org/debian | |
force_md5 | |
work_out_debs () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
oci="$PWD" # TODO parameter/flag (and pass it around to other oci tools correctly!) | |
# ~validate $oci is an OCI layout | |
[ -s "$oci/oci-layout" ] | |
jq -se 'length == 1 and .[0].imageLayoutVersion == "1.0.0"' "$oci/oci-layout" > /dev/null | |
# TODO more/better validation? definitely better error handling |
OlderNewer