Merge "Add Gentoo support to growroot"

This commit is contained in:
Jenkins 2016-02-02 03:15:22 +00:00 committed by Gerrit Code Review
commit 893b452b11
3 changed files with 19 additions and 1 deletions

View File

@ -4,4 +4,8 @@ growroot
Grow the root partition on first boot. Grow the root partition on first boot.
This only supported on ubuntu trusty or later. This is only supported on:
* ubuntu trusty or later
* gentoo
* fedora & centos

View File

@ -0,0 +1,10 @@
#!/sbin/runscript
start() {
/usr/local/sbin/growroot
eend 0
}
depend() {
need localmount
}

View File

@ -7,6 +7,10 @@
"debian":{ "debian":{
"growpart": "cloud-utils", "growpart": "cloud-utils",
"e2fsprogs": "e2fsprogs" "e2fsprogs": "e2fsprogs"
},
"gentoo": {
"growpart": "sys-fs/growpart",
"e2fsprogs": "sys-fs/e2fsprogs"
} }
} }
} }