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
| # TODO: respect SDK_VERSION in version.txt | |
| V=master | |
| S=/mnt/host/source/src/scripts | |
| B=amd64-usr | |
| ./bin/cork create --replace --sdk-version=${V} --verbose | |
| ./bin/cork enter -- ${S}/update_chroot --toolchain_boards=${B} | |
| ./bin/cork enter -- ${S}/build_packages --board=${B} --skip_chroot_upgrade --getbinpkgver=master --toolchainpkgonly | |
| ./bin/cork enter -- ${S}/build_image --board=${B} prod | |
| ./bin/cork enter -- ${S}/prune_images |
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
| $ qemu-img convert -O raw coreos_production_openstack_image.img coreos_production_openstack_image.bin | |
| $ sudo losetup --show --find --partscan coreos_production_openstack_image.bin | |
| /dev/loop0 | |
| $ sudo losetup --show --find --partscan coreos_production_image.bin | |
| /dev/loop1 | |
| $ sudo dd if=/dev/loop0p6 of=/dev/loop1p6 bs=1M | |
| 128+0 records in |
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
| diff --git a/src/basic/terminal-util.c b/src/basic/terminal-util.c | |
| index 0a9d2bb..e900eac 100644 | |
| --- a/src/basic/terminal-util.c | |
| +++ b/src/basic/terminal-util.c | |
| @@ -837,13 +837,39 @@ int make_stdio(int fd) { | |
| } | |
| int make_null_stdio(void) { | |
| - int null_fd; | |
| + int null_fd, kmsg_fd; |
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
| #!/bin/bash | |
| set -e | |
| eval $(go env) | |
| tmp=$(mktemp) | |
| trap "rm -f '$tmp'" EXIT | |
| find "$GOROOT/src" -name '*.go' -type f -printf '%h\n' \ | |
| | grep -v -e '/cmd/' -e '/internal/' -e '/testdata/' \ |
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
| #!/bin/bash | |
| set -ex | |
| KOLA=$(which kola) | |
| PAYLOAD="$HOME/coreos/testupdates/update.gz" | |
| CACHE_DIR="$HOME/coreos/testupdates/stable/" | |
| STABLE_URL="https://stable.release.core-os.net/amd64-usr/" | |
| STABLE_VERSIONS=( | |
| 367.1.0 |
OlderNewer