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
Dan Jasek
9adfdf6ef9
Fix bug in install script
...
lsblk -o label will list the labels of the block devices. Using name only returns /dev/sda, etc.
In some cases, labels may be repeated (eg - RAID configurations). It is safer to use greater than 0.
2016-02-06 19:23:29 -07:00
Ivan Mikushin
99bec55a2f
Use drone-0.4 for CI and migrate build to dapper
2015-12-18 19:24:24 +05:00
Ivan Mikushin
6698e4f46e
Merge pull request #663 from robbertkl/master
...
Avoid hardcoded reference to /scripts
2015-12-11 18:40:21 +05:00
Ivan Mikushin
084fb43201
tweak tests
2015-12-11 17:38:00 +05:00
Ivan Mikushin
f3afb076f7
Add ./scripts/vendor-cleanup.sh
...
And cleanup glide.yaml
2015-12-09 20:55:00 +05:00
Robbert Klarenbeek
c42d1b5716
Avoid hardcoded reference to /scripts
2015-11-25 18:33:24 +01:00
Ivan Mikushin
44b705c525
Merge pull request #597 from imikushin/usr-dev
...
remove boot behaviour dependency on version string
2015-10-13 11:13:31 +05:00
Wang Long
9e15059789
Replace rancherio with rancher
...
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2015-10-12 19:50:57 +08:00
Ivan Mikushin
c79a64e42e
remove dependency on version string
...
using rancher.rm_usr kernel param instead
2015-10-07 14:02:17 +05:00
Darren Shepherd
febd78f1dd
Add helper script to convert Ubuntu deb to kernel tgz
2015-10-02 01:02:44 -07:00
Darren Shepherd
d9fdbe542f
Merge pull request #591 from ibuildthecloud/faster-dev
...
Even faster dev build :)
2015-10-02 00:50:11 -07:00
Darren Shepherd
4cd78f1047
Even faster dev build :)
2015-10-01 15:45:48 -07:00
Ivan Mikushin
21453e38a9
installer: copy 1M zeroes to the target device before running fdisk
...
otherwise grub-install chokes, even after the new partition table has been created
2015-10-01 13:53:48 +05:00
Ivan Mikushin
e313091bde
fix: scripts/run --qind
runs plain qemu (instead of qind)
2015-09-23 11:57:16 +05:00
Ivan Mikushin
39e2e6c3b3
speed up the full build by swapping lzma with gzip if run with --dev flag
2015-09-23 10:22:55 +05:00
Ivan Mikushin
25fa1b769d
add --qind
to scripts/run
and scripts/ssh
...
also add `--fresh` to `scripts/run` to run with a clean state HDD,
make `--qemu` the default in `scripts/run` and `scripts/ssh`
2015-09-23 10:20:28 +05:00
Ivan Mikushin
abf1203499
readme from os-installer
2015-09-14 19:38:16 +05:00
Ivan Mikushin
4746e362b9
Merge pull request #558 from imikushin/test-custom-kernel
...
Test building with custom kernel and docker
2015-09-11 09:14:56 +05:00