30045 Commits

Author SHA1 Message Date
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
Brandon Philips
2e7f16b7b2 Merge pull request #23 from marineam/libarchive
bump(app-arch/libarchive): sync with upstream
2013-07-18 14:39:12 -07:00
Greg Kroah-Hartman
ae68006795 fix(sys-kernel/cros-bootkernel) make bootkernel support being a virtualized guest image 2013-07-18 14:32:37 -07:00
Brandon Philips
0ad75e585a Merge pull request #97 from philips/die-bootengine
fix(bootengine): die if we have problems with the cpio
2013-07-18 14:01:29 -07:00
Brandon Philips
6be50af767 fix(bootengine): die if we have problems with the cpio 2013-07-18 13:56:27 -07:00
Michael Marineau
92097ddd0b bump(app-arch/libarchive): sync with upstream 2013-07-18 16:48:25 -04:00
Brandon Philips
a35935df5a Merge pull request #22 from marineam/ncurses
bump(sys-libs/ncurses): sync with upstream
2013-07-18 12:46:49 -07:00
Michael Marineau
b62875c191 bump(sys-libs/ncurses): sync with upstream
In particular we need this:
  23 Oct 2012; Mike Frysinger <vapier@gentoo.org> ncurses-5.9-r2.ebuild:
  Bypass dumb pkg-config install checks #438922 by Benjamin Peterson.
2013-07-18 15:40:34 -04:00
Brandon Philips
eafb53f45f Merge pull request #96 from gregkh/boot_kernel_update
fix(sys-kernel/dracut) add Manifest file
2013-07-18 11:21:25 -07:00
Greg Kroah-Hartman
13b462927b fix(sys-kernel/dracut) add Manifest file 2013-07-18 11:08:37 -07:00
Brandon Philips
ee3fc09057 Merge pull request #42 from marineam/locale
hack(build_image): Make check for /usr/share/locale a warning.
2013-07-18 10:50:03 -07:00
Brandon Philips
b8c19881ae Merge pull request #83 from polvi/add-oem
feat(coreos-base/oem): add the initial oem partition support
2013-07-18 10:48:14 -07:00
polvi
65d3557671 Delete oem.service 2013-07-18 10:46:49 -07:00
Brandon Philips
c83a2477b5 Merge pull request #94 from gregkh/kexec
fix(sys-apps/kexec-tools) provide ebuild for binary version of kexec
2013-07-18 10:44:29 -07:00
Michael Marineau
7564371200 hack(build_image): Make check for /usr/share/locale a warning.
Switching the toolchain to upstream Gentoo brought this directory back
and based on the Chromium OS history keeping this directory out of the
builds is a bit tedious. Keeping image sizes down isn't *that* important
right now so just let it be.
2013-07-18 10:38:16 -07:00