23028 Commits

Author SHA1 Message Date
Brandon Philips
a148ec392d Revert "feat(profiles): unmask udev/systemd/etc"
This reverts commit bc7026fd10d82b8184b6b7d35759bcfecbc5c666.
2013-07-23 10:18:27 -07:00
Greg Kroah-Hartman
ad32826cbd Merge pull request #51 from polvi/oem-rackspace
add rackspace
2013-07-23 10:16:14 -07:00
Greg Kroah-Hartman
e1484f3ad0 Merge pull request #114 from marineam/update-bootengine
Update bootengine
2013-07-23 10:15:06 -07:00
Greg Kroah-Hartman
fa37416a38 Merge pull request #115 from philips/bump-systemd
feat(profiles): unmask udev/systemd/etc
2013-07-23 10:13:49 -07:00
Michael Marineau
31bab93688 Merge pull request #53 from marineam/fixns
fix(enter_chroot): Limit sharing system mount sharing
2013-07-23 10:11:30 -07:00
Brandon Philips
9b2cdc7675 feat(profiles): unmask udev/systemd/etc 2013-07-23 10:03:35 -07:00
Michael Marineau
4e6d93cff3 fix(sys-kernel/bootengine): Use new update-bootengine script in postinst
All the nasties have been polished and hidden away in a new script.
2013-07-23 03:01:44 -04:00
Michael Marineau
30e47c03fd fix(sys-kernel/bootengine): Add all dependencies required by postinst
When building on a fresh board root it is easy for bootengine to die a
silent but horrible death because it was installed before one of the
tools it uses to create or includes in the initird. To avoid this use a
very complete dependency list for both DEPEND and RDEPEND.
2013-07-23 02:41:49 -04:00
Michael Marineau
efa18698a0 fix(enter_chroot): Limit sharing system mount sharing
The existing code seems to assume that the mounts inherited from the
system are private, the Linux default. However on our systems that
clearly isn't the case, all system mounts are set as shared. Considering
all of us have been have been seeing mounts leak out of the SDK despite
cros_sdk creating a new filesystem namespace via unshare I'm guessing
this is a systemd thing.

Instead force all system mounts to 'slave' mode in the SDK namespace so
global changes are still visible but no SDK mounts can leak out.
2013-07-23 01:26:35 -04:00
Michael Marineau
a3da99ab4c Merge pull request #50 from marineam/baselayout
Baselayout
2013-07-22 19:14:42 -07:00
Michael Marineau
1640b28161 Merge pull request #113 from marineam/symlink
fix(profiles): Everyting assumes lib symlinks to lib64, make it so.
2013-07-22 19:14:32 -07:00
Michael Marineau
2ae0c30f4e fix(install_toolchain): Prevent tar from replacing lib symlinks
The cross toolchain doesn't have lib symlinks but this works because it
also doesn't install things to lib. However when this script manually
extracts the toolchain packages to BOARD_ROOT tar includes those empty
directories, replacing the symlinks that were previously there.

Longer term this really needs to go away, whatever build time is saved
by re-using the cross toolchain packages in BOARD_ROOT is not worth this
insane level of complexity it causes...
2013-07-22 21:42:57 -04:00
Michael Marineau
9e31324af1 fix(profiles): Everyting assumes lib symlinks to lib64, make it so. 2013-07-22 21:42:57 -04:00
Michael Marineau
ac931bd088 fix(setup_board): Install baselayout with USE=build
We need to install baselayout with the build use flag as the very first
package in the new board sysroot to ensure the system's directory
structure is created correctly. This should resolve surprise failures
with the bootengine ebuild.
2013-07-22 21:42:57 -04:00
Michael Marineau
be63f41081 fix(make.conf.user): Fix references to old make.conf.user path.
We've moved all of the chroot configs from /etc to /etc/portage but
setup_board was still symlinking to /etc. Fix the path so no one gets
mixed up by the two copies of the same file. Remove unused script that
also used to write to old location.
2013-07-22 21:42:57 -04:00
Brandon Philips
abc38e033b Merge pull request #52 from philips/add-hvc0-to-grub
Add hvc0 to grub
2013-07-22 18:22:02 -07:00
polvi
eeb54df0d8 Merge pull request #112 from philips/bump-init
bump(coreos-base/coreos-init): get the removal of noexec
2013-07-22 18:17:01 -07:00
Brandon Philips
d933790b6f bump(coreos-base/coreos-init): get the removal of noexec
remove noexec on oem. via 1f2cd73df612360c8c1910f6e9ca7bd3732c2dec
2013-07-22 17:52:28 -07:00
Brandon Philips
69803d5ad6 feat(create_legacy_bootloader): add hvc0 on Xen
add console=hvc0 for systems that use pygrub/pvgrub by adding it to the
menu.lst files.
2013-07-22 17:37:51 -07:00
Brandon Philips
a923365449 chore(build_library/create_legacy_bootloader): remove old stuff
We don't need all of these args. Remove them.
2013-07-22 17:36:17 -07:00
Greg Kroah-Hartman
4384885beb Merge pull request #111 from philips/drop-recursive2
fix(sys-kernel/bootengine): remove recursive from all the things
2013-07-22 16:21:38 -07:00
Brandon Philips
c46fd7ab05 fix(sys-kernel/bootengine): remove recursive from all the things
we don't need recursive mounts on any of this. remove it.
2013-07-22 16:16:34 -07:00
Brandon Philips
431c7980ac Merge pull request #110 from philips/drop-recursive
fix(sys-kernel/bootengine): don't mount dev recursive
2013-07-22 16:13:45 -07:00
Brandon Philips
59394db940 fix(sys-kernel/bootengine): don't mount dev recursive
fixes problems with /dev/pts being busy
2013-07-22 16:06:55 -07:00
Brandon Philips
e8be1de9ff Merge pull request #49 from philips/cleanup-chromiumos-constants
Cleanup chromiumos constants
2013-07-22 15:09:22 -07:00
Alex Polvi
017ec772a8 add rackspace 2013-07-22 14:55:44 -07:00
Greg Kroah-Hartman
f9dcc864a6 Merge pull request #109 from marineam/kernel
fix(sys-kernel/coreos-kernel): Disable outoftree for patched versions.
2013-07-22 11:00:02 -07:00
Michael Marineau
3d81c85899 fix(sys-kernel/coreos-kernel): Disable outoftree for patched versions.
Missed this in 59d86fde1c2fa477b91f76d29ea1da145ca6f618, we don't want
to patch shared source trees and doing so causes a sandbox violation. So
disable CROS_WORKON_OUTOFTREE_BUILD for versions with the no-firmware
patch.
2013-07-22 13:37:01 -04:00
Greg Kroah-Hartman
f580a19177 Merge pull request #108 from marineam/kernel
Kernel updates
2013-07-22 10:17:14 -07:00
Michael Marineau
48a4fc0076 fix(sys-kernel/coreos-kernel): Rename origin to github in the README.
When cloned by repo sync the origin remote is named github.
2013-07-22 13:00:07 -04:00
Michael Marineau
f97c31eee9 fix(sys-kernel/coreos-kernel): Set correct local workon directory.
The kernel source is now in the manifest and checked out to
src/third_party/linux
2013-07-22 12:57:26 -04:00
Greg Kroah-Hartman
14ae803a88 Merge pull request #107 from marineam/diediedie
fix(sys-kernel/bootengine): All commands in postinst should be fatal.
2013-07-22 09:50:51 -07:00
Michael Marineau
53c5b70b5a fix(sys-kernel/bootengine): All commands in postinst should be fatal.
If /dev fails to mount we better not continue, that's a sure fire way to
wind up with a directory named dev/null.
2013-07-22 12:17:22 -04:00
Brandon Philips
95b2a4b8cd chore(*): use coreos_ everywhere 2013-07-21 23:20:50 -07:00
Brandon Philips
80b72e9318 chore(*): remove obsolete stuff
- mod_for_factory says it is obsolete
- coreos doesn't sign ssds
- download_latest is just wrong for us
2013-07-21 22:56:58 -07:00
Brandon Philips
5f6d02b7db Merge pull request #48 from philips/reintroduce-unique-a-b-menu.lst
feat(build_library): reintroduce A/B menu.lst
2013-07-21 22:50:56 -07:00
Brandon Philips
377b18bc86 bump(cros-devutils): bump to the latest 2013-07-21 22:47:08 -07:00
Brandon Philips
836ffc9327 feat(build_library): reintroduce A/B menu.lst
reintroduce unique A/B menu.lsts to work around the kexec problems that
we have. Essentially instead of always using boot_kernel on pvgrub
systems use the A/B kernels installed at update time to the boot
partition.
2013-07-21 22:30:46 -07:00
Brandon Philips
d25d24d582 Merge pull request #47 from philips/make-lsb-release-official-on-prod
feat(build_image): official lsb-release on prod images
2013-07-21 22:13:52 -07:00
Brandon Philips
4c637bbe8c feat(build_image): official lsb-release on prod images
The /etc/lsb-release should have official values on the prod image. That
way someone can ping the official api.core-os.net with this image.
2013-07-21 22:10:02 -07:00
Brandon Philips
88e4176865 Merge pull request #46 from philips/fix-au-key
fix(cros_make_image_bootable): need to mkdir first
2013-07-21 21:24:20 -07:00
Brandon Philips
0d3242f3f9 Merge pull request #105 from philips/bump-update_engine-fcntl-fix
bump(coreos-base/update_engine): get compile fix
2013-07-21 21:23:07 -07:00
Brandon Philips
4b17e7939e bump(coreos-base/update_engine): get compile fix 2013-07-21 21:21:49 -07:00
Brandon Philips
8bf03de488 Merge pull request #104 from philips/uuid-and-fsck-fix-to-bootengine
Uuid and fsck fix to bootengine
2013-07-21 21:19:28 -07:00
Brandon Philips
6ef3166d86 bump(sys-kernel/bootengine): bump to latest
add fixes around PARTUUID
2013-07-21 21:17:41 -07:00
Brandon Philips
148b7d6ca1 fix(sys-kernel/bootengine): no fscks!
we don't want to have fscks in dracut for two reasons:

1) Root is readonly on coreos
2) it bloats and slows down the boot
2013-07-21 21:14:47 -07:00
Brandon Philips
a924223b75 fix(cros_make_image_bootable): need to mkdir first
The au directory doesn't exist. Make the directory first.
2013-07-21 21:11:10 -07:00
Brandon Philips
fd05808414 Merge pull request #103 from philips/remove-kernel-size-restriction
fix(eclass/cros-kernel2): remove size restriction
2013-07-21 19:38:19 -07:00
Brandon Philips
ef51bb7872 fix(eclass/cros-kernel2): remove size restriction
we don't care about the size of the kernel. Just remove this check.
2013-07-21 18:00:14 -07:00
Greg Kroah-Hartman
138e8eb715 Merge pull request #45 from philips/switchup-bootkernel
Switchup bootkernel
2013-07-21 16:22:21 -07:00