Commit Graph

3767 Commits

Author SHA1 Message Date
Michael Marineau
01ae17dcc9 grub: move standard kernel options to grub
In order to boot properly we need `rootflags=rw mount.usrflags=ro` on
the command line. These have been build into the kernel directly but for
arm64 builds the built in options seem to be ignored.
2015-09-21 15:31:41 -07:00
Michael Marineau
a1b2c90192 Merge pull request #461 from andrejro/for-upstream-image_to_vm
Add arm64 qemu image support
2015-09-21 09:07:57 -07:00
Andrej Rosano
8ba400eca7 Add arm64 qemu image support
Allows image_to_vm.sh to build also arm64 qemu images.

Signed-off-by: Andrej Rosano <andrej@inversepath.com>
2015-09-17 14:16:18 +02:00
Michael Marineau
99987eedcd Merge pull request #460 from coreos/philips-patch-1
ROADMAP: remove strudel
2015-09-16 14:13:32 -07:00
Brandon Philips
1b4048676c ROADMAP: remove strudel
We have de-emphasized strudel and are concentrating on testing/release/ignition for now. Remove it for the roadmap.

cc @pbx0
2015-09-16 12:53:05 -07:00
Michael Marineau
28a4f807e4 Merge pull request #458 from andrejro/for-upstream-bootengine-grub
Support for arm64 target ramdisk and arm64 grub modules
2015-09-16 10:31:42 -07:00
Andrej Rosano
16feac5ef6 Add arm64 grub installation support
Add the necessary variables in grub.cfg and populate the EFI
partition with arm64 efi executable and modules.

Signed-off-by: Andrej Rosano <andrej@inversepath.com>
2015-09-16 15:13:08 +02:00
Andrej Rosano
acea447ccd build_packages: Fix ramdisk creation for non-native arches
Chrooting in the target non-native arch rootfs is required
for update-bootengine to be run correctly.

Signed-off-by: Andrej Rosano <andrej@inversepath.com>
2015-09-16 12:41:23 +02:00
Andrej Rosano
21925e99d4 common.sh: add arm64 chroot utility functions
By copying and removing the relevant qemu static executable the
functions enable and disable the chroot environment for arm64 rootfs.

Signed-off-by: Andrej Rosano <andrej@inversepath.com>
2015-09-16 12:41:12 +02:00
Alex Crawford
8f41f9e87d Merge pull request #445 from crawford/gallery
oem/azure: add update-gallery script
2015-09-08 18:16:52 -07:00
Alex Crawford
5e028c2f45 oem/azure: add update-gallery script 2015-09-08 18:16:36 -07:00
Alex Crawford
078d9f1d3d Merge pull request #457 from crawford/comment
build_library: fix comment
2015-09-08 16:16:41 -07:00
Alex Crawford
32277dd006 build_library: fix comment 2015-09-08 16:15:50 -07:00
Michael Marineau
55f2763aee Merge pull request #456 from marineam/ccache
catalyst: re-enable ccache
2015-09-06 18:28:28 -07:00
Michael Marineau
0ef030051c catalyst: re-enable ccache
Now that ccache is turned on by default in the profile portage complains
a lot if ccache isn't actually installed, sleeping 5 seconds for each
error message. Since pkgcache is in use ccache isn't going to make that
much of a difference but getting rid of those 5 second sleeps will. :)
2015-09-06 21:26:15 +00:00
Alex Crawford
5416efc808 Merge pull request #453 from Interoute/interoute-789
init commit of interoute oem build
2015-09-05 09:44:07 -07:00
Dong Xie
c04e2cb227 init commit of interoute oem build 2015-09-05 00:32:50 +01:00
Michael Marineau
4cc1a2c514 Merge pull request #454 from marineam/gpg-ami
AMI updates
2015-09-04 11:45:01 -07:00
Michael Marineau
311b0d0465 ami: switch back to raw disk images by default
Unsure if the VMDK images are a factor in recent corruption issues
recently or not. Until that is sorted out go back to our old ways.
2015-09-04 10:41:09 -07:00
Michael Marineau
8c92e2184b ami: verify GPG sig on disk images
When creating dev images without a sig use the new -X option.
2015-09-04 10:38:23 -07:00
Michael Marineau
ae7e759544 ami: check that the disk GUID has been set 2015-09-04 10:35:21 -07:00
Rob Szumski
000a472310 Merge pull request #446 from endocode/master
contrib: fixed outdated virtualbox etcd2 script
2015-09-02 08:56:26 -07:00
Michael Marineau
afc0c51579 Merge pull request #451 from marineam/vmdk
oem/ami: add support for importing VMDK images
2015-09-01 16:22:47 -07:00
Michael Marineau
7acc0759dc oem/ami: add support for importing VMDK images 2015-09-01 16:20:17 -07:00
Michael Marineau
b31d986448 Merge pull request #449 from marineam/roadmap
ROADMAP: revise to reflect current priorities
2015-09-01 14:40:59 -07:00
Alex Crawford
4625a3a917 Merge pull request #450 from crawford/first-boot
grub: add coreos.first_boot kernel param
2015-09-01 14:38:04 -07:00
Alex Crawford
9fb9442576 grub: add coreos.first_boot kernel param 2015-09-01 14:35:43 -07:00
Michael Marineau
b0898bd1f8 ROADMAP: revise to reflect current priorities 2015-09-01 13:43:29 -07:00
Alex Crawford
ea2ad35dc3 Merge pull request #448 from crawford/ignition
grub: run Ignition on first boot
2015-09-01 12:04:54 -07:00
Alex Crawford
b475cb2ea3 grub: run Ignition on first boot 2015-08-31 23:02:25 -07:00
mjg59
0bc560d6ad Merge pull request #447 from mjg59/master
Ensure that selinux policy is installed in correct location
2015-08-24 16:53:27 -07:00
Matthew Garrett
673f166013 Ensure that selinux policy is installed in correct location
Failing to explicitly set the selinux policy store to operate on may
result in semodule installing the policy in an incorrect location. Pass
it on the command line in order to avoid this.
2015-08-24 16:27:18 -07:00
kayrus
c0095ac844 Fixed outdated etcd2 script 2015-08-24 17:27:13 +02:00
Alex Crawford
bf6f1af354 Merge pull request #444 from crawford/azure
oem/azure: add the new India regions
2015-08-13 13:35:20 -07:00
Alex Crawford
652302f262 oem/azure: add the new India regions 2015-08-13 11:16:10 -07:00
Michael Marineau
65e185cef0 Merge pull request #442 from glevand/for-merge-ldconfig
scripts: Run ldconfig in qemu
2015-08-05 17:50:53 -07:00
Nick Owens
64dd608bfe Merge pull request #443 from mischief/ci-roadmap
ROADMAP: add plans for ci integration
2015-08-05 17:17:39 -07:00
Nick Owens
4bb20d537b ROADMAP: add plans for ci integration 2015-08-05 17:08:08 -07:00
Geoff Levand
3f3b2f2e8c build_image: Run ldconfig in qemu
ldconfig does not work for non-native arches.  Create a new
build_image routine run_ldconfig that uses qemu user emulation
to run the board ldconfig on the board rootfs when the board and
SDK arches are different.

See: http://code.google.com/p/chromium/issues/detail?id=378377

Prior to calling run_ldconfig the board rootfs must have ldconfig
installed.  To arrange this move the call of run_ldconfig to after
the base package install.

Fixes build_image errors like these when building for arm64:

  /sbin/ldconfig: /lib64/libXXX is for unknown machine 183.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-08-05 14:47:58 -07:00
Michael Marineau
c78e0aa3f1 Merge pull request #441 from marineam/kernel
setup_board: remove old kernel vars
2015-08-04 18:13:22 -07:00
Michael Marineau
d30fa4054a setup_board: remove old kernel vars
These are properly detected now.
2015-08-04 18:06:03 -07:00
Michael Marineau
ca38796a4a Merge pull request #440 from marineam/quiet
build_packages: reduce the noise that --depclean generates
2015-08-04 15:29:30 -07:00
Michael Marineau
f5970d877c build_packages: reduce the noise that --depclean generates 2015-08-04 14:46:09 -07:00
Michael Marineau
95fec562c2 Merge pull request #439 from marineam/checkroot
check_root: update ignore list for arm64, make error non-fatal
2015-07-30 13:45:54 -07:00
Michael Marineau
cf26510ea7 check_root: update ignore list for arm64, make error non-fatal 2015-07-29 19:22:55 -07:00
Michael Marineau
3d3ca2b711 Merge pull request #438 from marineam/clean
update_chroot/build_packages: remove obsolete packages
2015-07-24 14:51:15 -07:00
Michael Marineau
e881b270db update_chroot/build_packages: remove obsolete packages
Before attempting to do @preserved-rebuild to fix linked against old
libraries remove any packages that no longer have corresponding ebuilds,
making them impossible to rebuild. This uses `--depclean`'s secondary
meaning: `--unmerge` but only remove packages without dependencies.
2015-07-24 14:38:09 -07:00
Michael Marineau
0fbb1891e0 Merge pull request #435 from marineam/check
Improved/faster package checks
2015-07-22 20:46:50 -07:00
Michael Marineau
d77449e9d6 Merge pull request #437 from marineam/grub
grub_install: stash an exact copy of the MBR boot code.
2015-07-16 22:24:09 -07:00
Michael Marineau
806d9ca313 grub_install: stash an exact copy of the MBR boot code.
Useful for repairing the MBR without needing GRUB's tools.
2015-07-16 18:06:35 -07:00