30859 Commits

Author SHA1 Message Date
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
Greg Kroah-Hartman
8edc46b399 Merge pull request #102 from philips/bootengine-bump
feat(bootkernel): merge into regular kernel
2013-07-21 16:21:53 -07:00
Brandon Philips
da4ad5388c feat(sys-kernel/coreos-kernel): use bootengine
move the bootengine to coreos-kernel and delete the boot kernel config.
2013-07-21 15:50:55 -07:00
Brandon Philips
d9d2341cff fix(bootengine): don't use host-only on dracut
host-only means that we don't include all of the modules that the kernel
provides. Only the ones that are needed for this machine. This won't
work since we rely on all of the modules since we don't have the
bootkernel anymore.
2013-07-21 15:46:09 -07:00
Brandon Philips
d97258917e feat(bootkernel): merge into regular kernel
This merges the bootkernel into the coreos-kernel. The reason we are
doing this is because on Xen, today, we don't have kexec so we need to
have a full kernel in this case.

This also updates bootengine so that it has the new logic to handle a
non-working kexec.
2013-07-20 16:56:21 -07:00
Brandon Philips
33e9017478 fix(cros_make_image_bootable): no more bootkernel
the bootkernel is going away and we will just have a single kernel for
all of the things. This is because of the kxec on xen problem.
2013-07-20 16:25:01 -07:00
Brandon Philips
f73cbac8db feat(build_image): install the au-key
Install the developer au key on production images. This will need to
change when we have the production key.
2013-07-20 16:24:13 -07:00
Brandon Philips
e296e96e52 Merge pull request #101 from gregkh/boot_kernel_update
fix(coreos-base/bootengine) bump to latest git and fix umount to be recu...
2013-07-20 10:40:31 -07:00
Brandon Philips
a80d755473 Merge pull request #44 from marineam/fix-umount
Fix umount
2013-07-18 23:47:07 -07:00
Michael Marineau
99089076af fix(build_image): Don't unmount when the rootfs isn't mounted
This function is never called when rootfs is mounted but leaving in a
check for it as a just in case sort of thing.
2013-07-19 02:41:52 -04:00
Greg Kroah-Hartman
d4c3563e2b fix(coreos-base/bootengine) bump to latest git and fix umount to be recursive
Also make mkdir be "nice" if the directory is already there and not spit
out a warning message.
2013-07-18 23:13:40 -07:00
Brandon Philips
b4dbb124c2 Merge pull request #100 from gregkh/kexec
fix(package.mask) properly mask the kexec-tools-2.0.99 ebuild
2013-07-18 17:22:42 -07:00
Greg Kroah-Hartman
8ee7ad6562 fix(package.mask) properly mask the kexec-tools-2.0.99 ebuild 2013-07-18 17:11:28 -07:00
Michael Marineau
e99f088f19 fix(common): Simplify unmount code, die loud and die hard.
As-is safe_umount is extremely dangerous. When passed multiple mount
points and any one of them fail with a "not mounted" or "doesn't exist"
error then any others that fail with a more serious error will be
silently ignored. This can cause untold sadness when running deleting a
chroot with cros_sdk if /mnt/host/source is left mounted, all your code
will be gone. To avoid this situation remove *ALL* this extra logic and
die very loudly when umount fails. Due to the way bind mounts interact
with this code "not mounted" so when unmounting a full tree we need to
still need to gracefully retry when the first umount fails.
2013-07-18 16:59:29 -07:00
Brandon Philips
6825cb39ea Merge pull request #99 from gregkh/kexec
fix(sys-apps/kexec-tools) remove 2.0.99 ebuild
2013-07-18 16:59:15 -07:00
Greg Kroah-Hartman
edc0af9e91 fix(sys-apps/kexec-tools) remove 2.0.99 ebuild
The "normal" kexec ebuild works properly, so the 2.0.99 ebuild can be
removed, and masked away.
2013-07-18 16:45:05 -07:00
Michael Marineau
67cea27070 fix(common): Fix okboat and failboat because boat. 2013-07-18 15:52:47 -07:00
Michael Marineau
b9257ee2a8 fix(common): Read mounts from /proc/self/mounts
Just in case the filesystem view is slightly different.
2013-07-18 15:27:02 -07:00
Brandon Philips
c236d100f1 Merge pull request #98 from gregkh/boot_kernel_update
fix(sys-kernel/cros-bootkernel) make bootkernel support being a virtuali...
2013-07-18 14:50:25 -07:00
Greg Kroah-Hartman
1fbd6764c5 fix(sys-kernel/coreos-bootkernel) bump the ebuild due to the .config change 2013-07-18 14:45:15 -07:00