1
0
mirror of https://github.com/rancher/os.git synced 2025-07-12 22:27:59 +00:00
Commit Graph

491 Commits

Author SHA1 Message Date
Sven Dowideit
528c39f238 replace fdisk with parted
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-12-14 14:58:38 +10:00
Sven Dowideit
ee51e854ba generate a changelog to start from
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-12-13 17:09:49 +10:00
Sven Dowideit
38faa7073b Fix the commanline hints to upload release
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-12-12 13:58:05 +10:00
David Konsumer
64ec90fe3d GPT partition option
UNTESTED: This adds a `-g` flag to select gptmbr.bin for MBR image, allowing installation on a GPT harddrive.
2016-12-02 22:50:24 -08:00
Josh Curl
ba5934c559
Remove mk-initrd.sh script 2016-12-01 11:42:11 -08:00
Sven Dowideit
30f44f7b98 Merge pull request #1422 from SvenDowideit/newer-hypriotos-kernel-4.4.27-7
Built v0.8.0-rc1 rpi image
2016-11-29 10:32:05 +10:00
Josh Curl
feaba53aa8
Enable golint 2016-11-28 00:09:17 -08:00
Josh Curl
a7c34b9855
Fix golint errors 2016-11-28 00:06:00 -08:00
Sven Dowideit
fa1dc760f2 Merge pull request #1425 from joshwget/validation-fixes
Validation fixes
2016-11-28 09:04:30 +10:00
Sven Dowideit
f3b9c72262 Built v0.8.0-rc1 rpi image
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-28 08:59:18 +10:00
Josh Curl
47a447cb67
Add container to write_files schema 2016-11-26 23:26:20 -08:00
Sven Dowideit
a4cf5b47b2 Changes needed to get the arm and arm64 builds working
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-25 10:10:21 +10:00
Sven Dowideit
f4948a6ae4 the integration tests need the installer tar file
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-24 16:48:00 +10:00
Sven Dowideit
67ab66f95d Add info telling me how to release
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-24 01:51:24 +00:00
Sven Dowideit
4546f19bab Merge pull request #1410 from joshwget/remove-strip
Link with '-s -w' instead of calling strip
2016-11-22 08:27:38 +10:00
Sven Dowideit
aa781b4a51 Merge pull request #1308 from SvenDowideit/move-os-release-file
Move the os-release file to /usr/lib and softlink
2016-11-22 08:26:27 +10:00
Josh Curl
f7de33c1a5
Link with '-s -w' instead of calling strip 2016-11-17 13:53:10 -08:00
Sven Dowideit
432fa5636e Push the os-release file into the hostfs, and then bind mount it into our system containers
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-17 21:39:36 +10:00
Sven Dowideit
0a7d679866 run the iso
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-17 20:54:08 +10:00
Josh Curl
98f7f9e207
Update schema 2016-11-16 21:02:33 -08:00
Josh Curl
ac3cd213dc
Update schema 2016-11-16 10:06:13 -08:00
deniseschannon
9f909ae54d Updates to Amazon ECS and packet script for v0.7.1 2016-11-12 08:51:28 -08:00
Josh Curl
4ca24cffc6
Add bootcmd to schema 2016-11-11 14:56:25 -08:00
Sven Dowideit
28075b2a78 Merge pull request #1373 from joshwget/validate-command
Add command to validate configuration
2016-11-10 18:34:14 +10:00
Sven Dowideit
1d289143fe Select a specific integration test to run
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-10 13:07:45 +10:00
Josh Curl
ceaec960c4
Update schema 2016-11-08 11:48:05 -08:00
Josh Curl
25e5ca5e4c
Add command to validate configuration 2016-11-06 18:23:01 -08:00
Kristian Klausen
284fb06636 Add initial DigitalOcean Debian->RancherOS cloud-config.yml 2016-11-04 17:48:44 +01:00
Sven Dowideit
b344657d0f add 'make docs' to build locally
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-02 15:19:14 +10:00
Josh Curl
7d40c641bc
Update last code sent for Packet installation 2016-10-25 13:57:55 -07:00
Sven Dowideit
f6576815c9 Add a way to over-ride the downloaded kernel with a local file
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-10-21 16:44:39 -07:00
Josh Curl
8ad8fbb877
Wait for network before installing in Packet 2016-10-20 14:33:03 -07:00
Darren Shepherd
ddbedb9b31 Revert "Add EFI live boot support" 2016-10-10 15:23:15 -07:00
Darren Shepherd
94fd38c358 Merge pull request #1263 from deitch/efi-live-boot-support
Add EFI live boot support
2016-10-10 10:23:50 -07:00
deniseschannon
e8ffaedb08 Updated packet script to use v0.7.0-rc3 2016-10-09 23:58:28 -07:00
Avi Deitcher
d4fbc039a7 Add support for --efi to scripts/run 2016-10-10 09:06:05 +03:00
Josh Curl
4eaf18946a
Add 'body' key to Tinkerbell post bodies 2016-10-06 15:35:27 -07:00
Denise
b6c103373e Merge pull request #1294 from joshwget/packet-v0.7.0-rc2
Bump Packet script to v0.7.0-rc2
2016-10-06 14:55:03 -07:00
Josh Curl
3e3e036bda
Bump Packet script to v0.7.0-rc2 2016-10-06 14:48:37 -07:00
Josh Curl
f5681217b5
Fix invalid JSON in Tinkerbell post body 2016-10-06 13:37:59 -07:00
Josh Curl
dfc9455e72
Add /phone-home to Tinkerbell URL 2016-10-05 15:58:06 -07:00
Darren Shepherd
c681c71fa6 Merge pull request #1273 from joshwget/packet-autologin
Autologin to ttyS1 in Packet
2016-10-05 14:08:18 -07:00
Josh Curl
e89f4f27e0
Use System Docker during Packet install 2016-10-05 13:45:13 -07:00
Josh Curl
8b9edc2836
Autologin to ttyS1 in Packet 2016-10-05 00:49:00 -07:00
Josh Curl
6ace0c1b05
New Packet installation script 2016-10-04 15:33:10 -07:00
Avi Deitcher
cc538ad523 Align kernel command-line params for EFI via grub to BIOS via isolinux 2016-10-02 14:34:44 +03:00
Avi Deitcher
cdd3dcc99e Set the correct image builder to include EFI 2016-10-02 11:45:59 +03:00
Avi Deitcher
4b121ec3b1 Add grub-efi to Dockerfile.dapper, efi.txt instructions and base grub.cfg 2016-10-02 11:40:57 +03:00
Josh Curl
2fc1d3fa5f
Add noformat and RAID installer types 2016-09-29 21:55:19 -07:00
Josh Curl
1da9a19951
Enable scripts/validate without golint 2016-09-26 21:32:40 -07:00
Josh Curl
1731fc5642
Preserve custom kernel arguments when upgrading 2016-09-26 17:27:53 -07:00
Josh Curl
133c2610d1
Remove rancher.state.formatzero kernel parameter 2016-09-25 11:39:46 -07:00
Josh Curl
8777e477b8
Add upgrade tests 2016-09-12 21:48:26 -07:00
Josh Curl
b536e6ea35
Add functionality for installing and running a test image 2016-09-12 21:48:16 -07:00
Josh Curl
17f0ef63b9
Create installer image build artifact 2016-09-12 21:48:10 -07:00
Darren Shepherd
d01440fe55 Small script changes 2016-09-06 11:56:05 -07:00
Darren Shepherd
5d02e35df7 Add suffix to rootfs build 2016-08-31 14:04:47 -07:00
Darren Shepherd
bd904fcbda Merge pull request #1192 from joshwget/package-images-with-os-base
Package images with rancher/os-base instead of busybox
2016-08-28 12:05:43 -07:00
Josh Curl
c2a58aeb70
Package images with rancher/os-base instead of busybox 2016-08-26 11:42:47 -07:00
Josh Curl
bffe4e5d3e
Fix upgrades from persistent consoles 2016-08-25 16:04:31 -07:00
Josh Curl
e4a94a81ef
Add autologin key to scripts/run 2016-08-22 11:20:04 -07:00
Josh Curl
bbab6aa760
Specify each tty for autologin 2016-08-22 11:19:24 -07:00
Darren Shepherd
8d79d67ca4 Merge pull request #1168 from ibuildthecloud/checksum
Create iso checksums
2016-08-18 22:42:28 -07:00
Darren Shepherd
ecb3880846 Create iso checksums 2016-08-18 22:41:30 -07:00
Darren Shepherd
6ed44af89a Extra compression 2016-08-18 21:26:34 -07:00
Josh Curl
4b3198dff4
Add rancher.autologin key 2016-08-17 16:07:46 -07:00
Darren Shepherd
2631eb118c Merge pull request #1158 from joshwget/restore-storage-driver-build-warning
Restore storage driver build warning
2016-08-16 18:33:12 -07:00
Josh Curl
9d603a6388
Restore storage driver build warning 2016-08-16 16:33:33 -07:00
Josh Curl
455e36bb0e
Strip more Docker binaries from DFS image 2016-08-16 14:09:47 -07:00
Josh Curl
80c72d0761
Make it easier to switch between Docker engines 2016-08-15 15:06:26 -07:00
Josh Curl
0a053c62ab
Extend write_files to run in all system services 2016-08-15 11:14:50 -07:00
Josh Curl
6b4222888c
Refactor state 2016-07-27 23:25:08 -07:00
Darren Shepherd
c1cd100dae Merge pull request #1122 from joshwget/refactor-integration-tests
Refactor integration tests
2016-07-20 20:28:22 -07:00
Josh Curl
0c7fb4f1f9
Refactor integration tests 2016-07-20 10:42:16 -07:00
Darren Shepherd
16ea661b6b Fix rootfs build for ARM 2016-07-01 13:32:43 -07:00
Darren Shepherd
fd8e1dedb5 Merge pull request #1076 from joshwget/remove-raspberry-pi-version
Remove version from Raspberry Pi artifacts
2016-06-30 22:01:21 -07:00
Josh Curl
9b7b6ebe4a
Remove version from Raspberry Pi artifacts 2016-06-30 17:23:12 -07:00
Darren Shepherd
7dfece8f3d Add udev back to the installer 2016-06-29 23:51:05 -07:00
Darren Shepherd
70bf02df1f Various fixes for ARM build 2016-06-29 23:03:28 -07:00
Darren Shepherd
dd4f348592 Skip integration tests in release 2016-06-28 21:41:40 -07:00
Darren Shepherd
afb8806cb6 Merge pull request #1057 from ibuildthecloud/cni
Add CNI networking to system-docker
2016-06-28 16:05:11 -07:00
Darren Shepherd
e360f6cd6a Merge pull request #1058 from ibuildthecloud/installer-size
Shrink installer a tiny bit
2016-06-28 15:58:21 -07:00
Darren Shepherd
0323844ca6 Add CNI networking to system-docker 2016-06-28 15:34:26 -07:00
Darren Shepherd
327aa0964c Shrink installer a tiny bit 2016-06-28 15:28:51 -07:00
Josh Curl
b09c09edf4
Fix two instances where customization isn't respected 2016-06-28 14:35:51 -07:00
Darren Shepherd
d8fc2a7401 Merge pull request #1051 from joshwget/dns-patch-build-tag
Go DNS patch based on build tag
2016-06-27 20:38:14 -07:00
Josh Curl
d0607ee68f
Go DNS patch based on build tag 2016-06-27 20:05:44 -07:00
Josh Curl
128c228ff5
Add swap support in cloud config mounts 2016-06-22 21:50:29 -07:00
Darren Shepherd
9922786748 Merge pull request #1022 from joshwget/update-selinux-files
Update SELinux config files in installer
2016-06-17 13:24:37 -07:00
Josh Curl
45712bef22
Update SELinux files in installer 2016-06-17 09:13:40 -07:00
Darren Shepherd
2a60981b09 Build script updates
Always compress with gzip unless we are doing a release.  Also download
rootfs.tar to ${DOWNLOAD} so `dapper -m bind` works better.
2016-06-17 08:00:33 -07:00
Darren Shepherd
924e4b8aae /media and /mnt mounted as shared for console 2016-06-15 16:45:05 -07:00
Ivan Mikushin
a640bdb758 Fix installer build 2016-06-14 10:29:38 -07:00
Josh Curl
e4019385aa
Merge remote-tracking branch 'origin/v0.5' into HEAD 2016-06-13 22:00:34 -07:00
Ivan Mikushin
9afb667cf4 Fix building the iso 2016-06-13 14:42:10 -07:00
Darren Shepherd
c8fd1bc665 Pick vmlinuz then vmlinux 2016-06-07 11:21:28 -07:00
Darren Shepherd
57a2f99484 Optimize scripts for slow disks 2016-06-07 11:21:27 -07:00
Darren Shepherd
e1d29fbab7 Bring back installer 2016-06-07 11:21:27 -07:00
Darren Shepherd
ac0f317bf8 Build script updates 2016-06-07 11:21:27 -07:00
Darren Shepherd
c9c095f202 Build script 2016-06-06 08:08:04 -07:00
Darren Shepherd
8ab32c820f Docker 1.11.1 2016-06-03 11:38:25 -07:00
Darren Shepherd
5bf4d2c117 More build script changes 2016-05-31 21:11:03 -07:00
Darren Shepherd
9e73976a9e Make tests run 2016-05-23 14:15:38 -07:00
Darren Shepherd
0d5223db23 Fix tests 2016-05-22 23:51:46 -07:00
Darren Shepherd
d34ead2fbf Speed up build and run tests 2016-05-22 23:16:27 -07:00
Darren Shepherd
c09b807991 Merge pull request #860 from imikushin/rootfs-build-fix
Fix building rootfs for arm on amd64
2016-05-16 18:51:22 -07:00
Ivan Mikushin
d664c96001 fix ./scripts/run: create a unique loopback device for each run 2016-05-11 15:36:56 -07:00
Darren Shepherd
dd7b2554e7 More build script enhancements 2016-05-08 10:35:48 -07:00
Darren Shepherd
ec410addb9 Refactor build scripts 2016-05-06 10:58:54 -07:00
Ivan Mikushin
1df1582459 Fix building rootfs for arm on amd64 2016-04-13 14:40:28 -07:00
Josh Curl
adb8ad3e3a Add unit tests to CI 2016-04-13 11:23:21 -07:00
Wang Long
69cb33b26c fix lay-down-os error
option `-k` does not need an argument and `-a` need one.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-04-07 11:09:09 +08:00
Darren Shepherd
07faa92c7f Merge pull request #820 from imikushin/kexec-kernel-args
Add --append to `ros os upgrade` to pass kernel args for --kexec
2016-04-04 13:41:11 -07:00
Darren Shepherd
6a3367ce24 Merge pull request #825 from imikushin/qemu-arm
Run tests on qemu-system-aarch64
2016-04-04 11:33:39 -07:00
Ivan Mikushin
e2f3ac78a7 cleanup tests using SSH 2016-03-31 18:56:18 -07:00
Darren Shepherd
44fb5dfe2e Merge pull request #842 from joshwget/vbox-modules
Include VirtualBox guest modules
2016-03-31 18:40:01 -07:00
Darren Shepherd
0fcc1bb94f Merge pull request #845 from datawolf/fix-suffix-error
fix the suffix error when the target is rootfs
2016-03-31 18:33:10 -07:00
Ivan Mikushin
2dd57c5f3a remove an unused option --xhyve from ./scripts/run 2016-03-31 16:10:38 -07:00
Josh Curl
6e9ce6aea3 Include VirtualBox guest modules 2016-03-31 15:35:45 -07:00
Ivan Mikushin
60e5ff7ede Fix problems loading external services on boot (like ubuntu-console or kernel-headers)
On arm64 external services would not load on boot because of DNS i/o timeouts or valid TLS certificates appearing expired or not issued yet (I know that sounds weird).
2016-03-31 13:16:26 -07:00
Ivan Mikushin
99c3207b14 Hook cloud-config into qemu-system-aarch46 2016-03-31 13:16:26 -07:00
Ivan Mikushin
29aff3d807 Dockerfile.dapper: make sure to update apt repos before fetching build deps and sources
Also, use dapper -d flag in scripts/shell.sh for better visibility
2016-03-31 13:14:25 -07:00
Darren Shepherd
78ae645903 Merge pull request #824 from imikushin/run-kvm
scripts/run: enable KVM on arm/arm64 too
2016-03-31 11:55:46 -07:00
Wang Long
5221a31b1f fix the suffix error when the target is rootfs
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-31 21:50:16 +08:00
Wang Long
d45360db62 Fix lay-down-os shell error
the current code for lay-down-os will cause the following error when
install rancheros to disk.

```
-bash: [: missing `]'
```

Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-26 15:33:25 +08:00
Ivan Mikushin
dc86eb8c6d scripts/run: enable KVM on arm/arm64 too 2016-03-23 13:28:05 -07:00
Ivan Mikushin
5a8d0e7f34 Add --append to ros os upgrade to pass kernel args for --kexec 2016-03-22 12:16:06 -07:00
Wang Long
e074038775 fix gen-os-config.sh error
Need to source build.conf.${ARCH} file when we generate os-config.yml
after the pr(https://github.com/rancher/os/pull/815) merged.

this patch fix it.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-22 14:15:30 +08:00
Ivan Mikushin
8802fe2c6e Run qemu and tests on different architectures 2016-03-17 04:30:11 -07:00
Ivan Mikushin
3b6d47be32 Use the correct strip binary.
Fixes native builds on ARM
2016-03-15 15:58:03 -07:00
Darren Shepherd
60e0ed9be4 Merge pull request #800 from DieterReuter/rpi3-image
WIP: Refactored RPI building scripts and support for Raspberry Pi 3
2016-03-15 09:59:47 -07:00
Ivan Mikushin
356f25be20 cross-build is back
`HOST_ARCH=arm64 ./make.sh minimal` builds vmlinuz and initrd for arm64 on arm64 (sourcing .docker-env.arm64 in the process)
`ARCH=arm ./make.sh rootfs` builds rootfs.tar.gz for arm on your current docker environment
2016-03-15 09:01:10 -07:00
Ivan Mikushin
142ec23778 Build for ARM64 on ARM64, installer included 2016-03-14 12:08:11 -07:00
Dieter Reuter
d30e307e2f Refactor image builder, add support for Pi 3 2016-03-07 09:30:24 +01:00
Dieter Reuter
58c769cab5 Ignore dist folder 2016-03-07 09:29:12 +01:00
Ivan Mikushin
0bab70e84e cleanup Makefile a bit 2016-02-29 17:03:34 -08:00
Darren Shepherd
0f263d570b Merge pull request #785 from joshwget/kexec-upgrade
Kexec upgrade
2016-02-28 23:28:44 -07:00
Darren Shepherd
e5745261c1 Merge pull request #790 from ibuildthecloud/packet-1
Add Type-0 to docs
2016-02-28 23:02:27 -07:00
Darren Shepherd
042c0d2328 Add Type-0 to docs 2016-02-28 23:01:41 -07:00
Darren Shepherd
e9d475087c Merge pull request #788 from ibuildthecloud/packet-1
Add scripts for installing on packet
2016-02-28 22:53:04 -07:00
Darren Shepherd
4aae611660 Add scripts for installing on packet 2016-02-27 23:02:53 -07:00
Josh Curl
9d46ab4df8 Kexec upgrade 2016-02-27 15:30:53 -08:00
Ivan Mikushin
8b72377a3c generate os-config.yml 2016-02-26 17:46:55 -08:00
Ivan Mikushin
ac1b6a6797 Repair build for arm
and make sure CI breaks if arm is broken
2016-02-25 11:18:03 -08:00
Josh Curl
f28d463504 Enable SELinux 2016-02-19 16:11:32 -08:00
Darren Shepherd
cd8ab49579 Merge pull request #769 from ibuildthecloud/os
Scripts to build OpenStack/KVM image
2016-02-18 10:11:44 -07:00
Darren Shepherd
01252fc044 Scripts to build OpenStack/KVM image 2016-02-18 10:10:56 -07:00
Darren Shepherd
b2db201af9 RPI building scripts 2016-02-18 09:58:39 -07:00
Darren Shepherd
1e0125c508 Merge pull request #735 from imikushin/multiarch
Multi-arch build: amd64, arm
2016-02-08 18:57:24 -07:00
Ivan Mikushin
2f27271a2c Multi-arch build
Currently, for amd64 (the default) and arm.
Run `dapper make ARCH=arm rootfs` to build rootfs.tar.gz for arm.
2016-02-08 16:49:49 -08:00