Merge pull request #5 from marineam/resize-state

Resize state updates
This commit is contained in:
Michael Marineau 2013-06-03 14:26:16 -07:00
commit 8fb1baa79b
5 changed files with 28 additions and 19 deletions

View File

@ -13,4 +13,3 @@
# <fs> <mountpoint> <type> <opts> <dump/pass>
/dev/ROOT / ext3 defaults 0 0
tmpfs /var/run tmpfs defaults 0 0

View File

@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
CROS_WORKON_COMMIT="9b03ebb14f931b132963088a11dd41d7425e7b2f"
CROS_WORKON_COMMIT="ad419999ea478bb60867e9e14f01197b928a5c73"
CROS_WORKON_PROJECT="coreos/init"
CROS_WORKON_LOCALNAME="init"
@ -20,21 +20,24 @@ IUSE="nfs"
DEPEND=""
RDEPEND="
sys-block/parted
sys-apps/gptfdisk
sys-apps/systemd
"
sys-block/parted
sys-apps/gptfdisk
sys-apps/systemd
"
src_install() {
into / # We want /sbin, not /usr/sbin, etc.
# Install our boot scripts along side systemd in /usr/lib
exeinto /usr/lib/coreos
for script in scripts/*; do
doexe "${script}"
done
dosbin coreos_startup
# Install all units, enable the higher-level services
for unit in systemd/*; do
systemd_dounit "${unit}"
done
systemd_dounit coreos-startup.service
systemd_enable_service basic.target coreos-startup.service
systemd_dounit update-engine.service
systemd_enable_service multi-user.target update-engine.service
systemd_enable_service multi-user.target sshd.socket
}

View File

@ -18,18 +18,25 @@ KEYWORDS="~amd64 ~arm ~x86"
IUSE="nfs"
DEPEND=""
RDEPEND="sys-apps/systemd"
RDEPEND="
sys-block/parted
sys-apps/gptfdisk
sys-apps/systemd
"
src_install() {
into / # We want /sbin, not /usr/sbin, etc.
# Install our boot scripts along side systemd in /usr/lib
exeinto /usr/lib/coreos
for script in scripts/*; do
doexe "${script}"
done
dosbin coreos_startup
# Install all units, enable the higher-level services
for unit in systemd/*; do
systemd_dounit "${unit}"
done
systemd_dounit coreos-startup.service
systemd_enable_service basic.target coreos-startup.service
systemd_dounit update-engine.service
systemd_enable_service multi-user.target update-engine.service
systemd_enable_service multi-user.target sshd.socket
}