1
0
mirror of https://github.com/rancher/os.git synced 2025-07-02 17:51:49 +00:00
Commit Graph

1159 Commits

Author SHA1 Message Date
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
Darren Shepherd
e53155d023 Merge pull request #784 from joshwget/up-to-date-upgrade-warning
Warn if upgrading to the currently running version
2016-03-31 11:51:52 -07:00
Darren Shepherd
bd13cb4f00 Merge pull request #793 from joshwget/stage-when-enabled
Stage services when they are enabled
2016-03-31 11:49:24 -07:00
Darren Shepherd
e483ade336 Merge pull request #832 from joshwget/local-upgrade-image
Only pull upgrade image if not found locally
2016-03-31 11:45:30 -07:00
Darren Shepherd
c459937d90 Merge pull request #834 from joshwget/unmarshal-args-as-yaml
Use yaml.Unmarshal to handle config arguments
2016-03-31 11:44:44 -07:00
Darren Shepherd
d5b33086e6 Merge pull request #840 from joshwget/delete-container-before-upgrade
Delete previous upgrade container before upgrading
2016-03-31 11:44:09 -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
Darren Shepherd
2b3e783939 Merge pull request #833 from imikushin/install-version-arch
Use images for the current architecture (vs just amd64)
2016-03-30 15:57:47 -07:00
Josh Curl
047884d4aa Delete previous upgrade container before upgrading 2016-03-29 11:53:40 -07:00
Ivan Mikushin
ee9c21c5f1 Use docker images for the current architecture (vs just for amd64)
Fix #828, #835
2016-03-29 10:29:56 -07:00
Josh Curl
6e6233bd86 Use yaml.Unmarshal to handle config arguments 2016-03-28 16:36:59 -07:00
Josh Curl
b965a2c0e3 Only pull upgrade image if not found locally 2016-03-28 11:27:27 -07:00
Darren Shepherd
5f362d78a2 Merge pull request #827 from datawolf/fix-lay-down-os-error
Fix lay-down-os shell error
2016-03-28 10:19:19 -07: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
Denise
529e7dab06 Update README.md 2016-03-24 11:16:25 -07:00
Ivan Mikushin
dc86eb8c6d scripts/run: enable KVM on arm/arm64 too 2016-03-23 13:28:05 -07:00
Ivan Mikushin
77506c0a67 Replace curl with wget in Makefile
Because curl exits cleanly on HTTP errors (like 404 Not Found) and output filled with the error page content
2016-03-22 16:27:11 -07:00
Darren Shepherd
2ec32c14e2 Merge pull request #819 from imikushin/dapper-gccgo
Make sure /usr/bin/go from gccgo exists
2016-03-22 12:20:20 -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
Ivan Mikushin
7d1a7f04de Make sure /usr/bin/go from gccgo exists
Fix dapper image build, which broke at some point: apparently because of gccgo packaging change
2016-03-22 11:27:20 -07:00
Darren Shepherd
cb772977bd Merge pull request #816 from datawolf/master
fix gen-os-config.sh error
2016-03-22 11:12:35 -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
Darren Shepherd
097e8d3b4f Merge pull request #815 from imikushin/os-releases-arm
Different $OS_RELEASES_YML for different architectures
2016-03-21 21:05:50 -07:00
Darren Shepherd
f7301fa1b0 Merge pull request #808 from datawolf/print-proper-tips
print proper tips when running `ros` or `system-docker` without using sudo
2016-03-21 21:05:01 -07:00
Ivan Mikushin
cd46d7ca37 Different $OS_RELEASES_YML for different architectures 2016-03-21 20:48:09 -07:00
Darren Shepherd
8653a2cd8f Merge pull request #810 from imikushin/selinux-arm
Support SELinux on arm/arm64
2016-03-21 11:34:49 -07:00
Ivan Mikushin
a8dfd7089e Support SELinux on arm/arm64 2016-03-18 08:39:40 -07:00
Ivan Mikushin
aae4d086c9 Update to docker-from-scratch-v1.10.3
DFS-1.10.3 supports SELinux
2016-03-17 13:37:12 -07:00
Darren Shepherd
96c3f3958b Merge pull request #812 from imikushin/qemu-arm64
Run qemu and tests on different architectures
2016-03-17 09:05:58 -07:00
Ivan Mikushin
8802fe2c6e Run qemu and tests on different architectures 2016-03-17 04:30:11 -07:00
Denise
c1bf5ed490 Update README.md 2016-03-16 11:21:35 -07:00
Wang Long
445c510dee fix the testcase: add sudo to ros dev command
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-16 18:41:54 +08:00
Wang Long
6617eab12f print proper tips when running ros or system-docker without using sudo
`ros` and `system-docker` command requires user to be the root user,
when we running them without using sudo, it will print the follow:

[rancher@rancher ~]$ ros os list
ERRO[0000] Failed to read /var/lib/rancher/conf/cloud-config.d: open
/var/lib/rancher/conf/cloud-config.d: permission denied
ERRO[0000] Error reading config files                    err=open
/var/lib/rancher/conf/cloud-config.yml: permission denied
files=[/var/lib/rancher/conf/cloud-config.yml]
ERRO[0000] Failed [1/4] 25%
ERRO[0000] Failed to load config
......
......
FATA[0000] open /var/lib/rancher/conf/cloud-config.yml: permission
denied

and

[rancher@rancher ~]$ system-docker restart docker
Failed to kill container(docker): Cannot connect to the Docker daemon.
Is the docker daemon running on this host?

this patch make the tips more clear and simple.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-16 17:50:54 +08:00
Darren Shepherd
99eaf61978 Merge pull request #806 from imikushin/strip-bin
Use the correct strip binary
2016-03-15 16:19:46 -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
Darren Shepherd
e9ab9e408e Merge pull request #795 from imikushin/customize-installer
ARM installer
2016-03-15 09:59:08 -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
35ccb325ba add kexec to arm64 installer image 2016-03-14 12:08:11 -07:00
Ivan Mikushin
142ec23778 Build for ARM64 on ARM64, installer included 2016-03-14 12:08:11 -07:00
Ivan Mikushin
60d3a828ae use docker-1.10.2 at build time 2016-03-14 11:59:11 -07:00
Ivan Mikushin
5cc96f67a7 update to DFS v1.10.2-1 2016-03-14 11:59:11 -07:00
Ivan Mikushin
a557961c65 fix services repo URL for architectures other than default (amd64) 2016-03-14 11:59: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
Josh Curl
2f10f9052a Stage services when they are enabled 2016-02-29 19:29:07 -08: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