Michael Marineau
fb6393d667
Merge pull request #287 from marineam/symlink-usr
...
A few /usr related fixes
2014-01-02 16:42:04 -08:00
Brandon Philips
e8ec4c9fb0
Merge pull request #288 from gregkh/kernel_update
...
bump(sys-kernel/coreos-kernel): add some SATA driver support.
2014-01-02 12:26:20 -08:00
Greg Kroah-Hartman
79b603dfc6
bump(sys-kernel/coreos-kernel): add some SATA driver support.
...
Should resolve #279
2013-12-30 21:09:55 -08:00
Michael Marineau
d85b14db00
add(sys-libs/nss-usrfiles): nss module for files under /usr/share/nss
2013-12-30 16:43:34 -08:00
Michael Marineau
8e0d630699
fix(image_to_vm): Remove support for alternate state fs image.
...
We haven't really needed this, remove the option to simplify things.
2013-12-30 16:32:37 -08:00
Michael Marineau
213472652c
add(prod_image_util): Rename what remains of cros_make_image_bootable
...
cros_make_image_bootable now only is relevant for prod images, so move
the remaining code to prod_image_util in a similar scheme that base and
dev images use.
2013-12-30 16:12:44 -08:00
Michael Marineau
306a2f6cbc
fix(cros_make_image_bootable): Switch to disk_util mount/umount
2013-12-30 16:12:44 -08:00
Michael Marineau
e2c2271579
fix(create_legacy_bootloader_templates): Setup ESP partition.
...
Replace "update_bootloaders" script.
2013-12-30 16:12:43 -08:00
Michael Marineau
359505490d
fix(disk_util): Install syslinux as part of filesystem formatting.
...
This means scripts later don't need to deal with the ESP block device
directly, they can just copy the config files into place.
2013-12-30 16:12:43 -08:00
Michael Marineau
d1fee3653e
fix(cros_make_image_bootable): Remove dead command line flags.
...
Lots of things are either unused or meaningless. A particularly creative
one is the fact that there are command line flags for mount point
locations that are then overwritten.
2013-12-30 16:12:43 -08:00
Michael Marineau
52e1dba3ec
fix(build_image): Migrate to new disk_util commands
2013-12-30 16:12:43 -08:00
Michael Marineau
9bc36ee344
fix(base_image_util): Remove dead code, leave rootfs writable.
...
The verification flag was being passed through to the bootloader
template script but no longer had any effect.
Force the base image to always remain writable, its only purpose is to
be modified in a later build step anyway.
2013-12-30 16:12:41 -08:00
Michael Marineau
8ca62121d9
feat(disk_util): Add mount and unmount commands.
...
This will replace the assorted mix of mount/umount scripts.
2013-12-30 16:12:04 -08:00
Michael Marineau
ba45152b4b
feat(disk_util): Add 'format' command to create filesystems in an image.
...
This will replace the less flexible code in base_image_util.sh
2013-12-30 16:12:04 -08:00
Michael Marineau
ab23353448
fix(disk_util): Rework config parsing.
...
Merge GetPartitionTable and partition alignment from WritePartitionTable
into LoadPartitionConfig so that all this config manipulation code is in
one place and inheritance from the 'base' layout is more predictable.
2013-12-30 16:12:04 -08:00
Michael Marineau
0f4b52134a
fix(disk_util): Convert partition list to an object.
...
Hey, 'num' is a primary key! Lets use it and avoid pointless looping.
2013-12-30 16:12:04 -08:00
Michael Marineau
576c8996f4
fix(disk_util): Remove support for --adjust_part
...
This isn't a feature we've been using as far as I know and if someone
needs a custom partition layout it's probably better to just add it to
the json file. Removing this avoids some complexity.
2013-12-30 16:12:02 -08:00
Michael Marineau
cc341f856b
fix(disk_util): Merge write_mbr into write_gpt
...
No need for this to be a different command.
2013-12-30 16:10:46 -08:00
Michael Marineau
de9ff4fc8e
fix(disk_util): Rework how argument parsing/passing works.
...
Move from optparse to argparse. Move layout file and layout type to
global options with reasonable default values so every command doesn't
need to them. Adjust calling scripts to match.
For now layout type is being passed via an environment variable
DISK_LAYOUT_TYPE but this is a temporary situation.
2013-12-30 16:10:46 -08:00
Michael Marineau
fdefbf704c
add(disk_util): Rename cgpt.py to disk_util.
...
Use a more generic name so cgpt.py and disk_layout_util.sh can be merged
into one tool. Wrappers around wrappers around wrappers are tedious.
2013-12-30 16:10:46 -08:00
Michael Marineau
ba5f044fe4
remove(coreos-base/chromeos-auth-config): Unused passwd hackery
...
This appears to be part of a scheme to set an alternative login password
in ChromeOS that we have not been using. Our solution will be to make
/etc read-write so this can just go away.
2013-12-30 16:08:11 -08:00
Michael Marineau
d03376f5c3
fix(coreos-base/coreos): Remove rsyslog
...
We don't actually enable it and journald is more awesome anyway.
2013-12-30 16:08:11 -08:00
Michael Marineau
2a6ef1ad8f
fix(sys-libs/ncurses): Remove terminfo from /etc w/ symlink-usr
...
Existing behavior remains unchanged if symlink-usr is unset, otherwise
leave terminfo alone (if minimal is also unset) or prune terminfo down
to the set that would have been installed to /etc if minimal is set.
2013-12-30 16:08:11 -08:00
Michael Marineau
6fc956aa1e
bump(sys-libs/ncurses): Sync ebuild with current upstream version
2013-12-30 16:08:11 -08:00
Michael Marineau
4c0e511348
Merge pull request #145 from marineam/symlink-usr
...
fix(test_image_content): Improve /usr symlink and conflict tests.
2013-12-30 15:43:18 -08:00
Brandon Philips
defe333a33
Merge pull request #286 from philips/etcd-0.2.0
...
bump etcd and etcdctl
2013-12-23 23:26:47 -08:00
Brandon Philips
58a6bf6d7a
fix(dev-db/etcd): set name in bootstrap
...
by default set the name of the etcd machine to the `${HOSTNAME}`
2013-12-23 23:22:19 -08:00
Brandon Philips
969ec91d6e
feat(dev-db/etcdctl): bump 0.2.0
2013-12-23 22:59:44 -08:00
Brandon Philips
ae01d59251
feat(dev-db/etcd): add etcd 0.2.0
2013-12-23 11:15:16 -08:00
Brandon Philips
79fbbfebbd
Merge pull request #76 from philips/bump-go
...
bump(dev-lang/go): sync with upstream
2013-12-21 14:20:32 -08:00
Brandon Philips
15707eccdb
Merge pull request #284 from philips/bump-go
...
fix(package.accept_keywords): accept go-1.2
2013-12-21 14:20:19 -08:00
Brandon Philips
64281470b5
Merge pull request #285 from philips/docker-0.7.2
...
bump(app-emulation/docker): bump to 0.7.2
2013-12-21 14:20:13 -08:00
Brandon Philips
1653ed95ee
bump(app-emulation/docker): bump to 0.7.2
2013-12-20 19:06:48 -08:00
Brandon Philips
2455297fe6
fix(package.accept_keywords): accept go-1.2
2013-12-20 19:03:08 -08:00
Brandon Philips
e1d2330aa2
fix(package.accept_keywords): accept go-1.2
2013-12-20 18:58:07 -08:00
Brandon Philips
d949a5b662
bump(dev-lang/go): sync with upstream
2013-12-20 18:56:34 -08:00
Michael Marineau
c279534b4f
Merge pull request #75 from marineam/eselect
...
bump(app-admin/eselect): sync with upstream
2013-12-19 16:58:52 -08:00
Michael Marineau
f75d04eaab
Merge pull request #146 from marineam/fix-board-names
...
fix(toolchain_util.sh): Fix BOARD_NAMES list
2013-12-19 12:08:57 -08:00
Michael Marineau
1c239f2258
Merge pull request #282 from oremj/add_coretest
...
Add coretest-0.0.1 ebuild.
2013-12-18 23:54:37 -08:00
Jeremiah Orem
c96c4fde29
Add coretest-0.0.1 ebuild.
2013-12-18 23:09:57 -08:00
Brandon Philips
5e25567f0a
Merge pull request #283 from marineam/bootengine
...
bump(sys-kernel/bootengine): Fix last-resort fallback boot
2013-12-18 14:31:27 -08:00
Michael Marineau
4c5fc60ba2
bump(sys-kernel/bootengine): Fix last-resort fallback boot
2013-12-18 14:28:03 -08:00
Michael Marineau
acdad64f35
bump(app-admin/eselect-bashcomp): sync with upstream
...
This module is now in its own ebuild, previously it was bundled with
eselect.
Packages updated:
app-admin/eselect-bashcomp
app-shells/bash-completion
2013-12-18 13:40:05 -08:00
Michael Marineau
dd88afdc6b
bump(app-admin/eselect): sync with upstream
2013-12-11 19:44:44 -08:00
Michael Marineau
3d7bed9aea
fix(toolchain_util.sh): Fix BOARD_NAMES list
...
This has been broken since d91e8d21 :(
2013-12-11 19:38:45 -08:00
Michael Marineau
a25afa52b3
Merge pull request #278 from marineam/symlink-usr
...
pam /usr fixes
2013-12-09 21:02:26 -08:00
Michael Marineau
551fb5121c
Merge pull request #74 from marineam/symlink-usr
...
bump(sys-libs/libcap): sync with upstream
2013-12-09 21:01:58 -08:00
Michael Marineau
62ae4d60b1
fix(test_image_content): Improve /usr symlink and conflict tests.
...
Now uses the package database instead of filesystem so the check works
even if /bin and friends are symlinks to /usr. Also disable the
whitelist and check that the expected symlinks are correct if the
symlink-usr USE flag is enabled.
2013-12-09 19:32:54 -08:00
Brandon Philips
3e27b096ff
Merge pull request #73 from philips/bump-e2fs
...
bump(sys-libs/e2fsprogs-libs): sync with upstream
2013-12-09 17:48:09 -08:00
Brandon Philips
08e758e955
bump(sys-libs/e2fsprogs-libs): sync with upstream
2013-12-09 17:36:28 -08:00