Merge "Add Gentoo support to growroot"
This commit is contained in:
commit
893b452b11
3 changed files with 19 additions and 1 deletions
|
@ -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
|
||||||
|
|
10
elements/growroot/init-scripts/openrc/growroot
Executable file
10
elements/growroot/init-scripts/openrc/growroot
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/sbin/runscript
|
||||||
|
|
||||||
|
start() {
|
||||||
|
/usr/local/sbin/growroot
|
||||||
|
eend 0
|
||||||
|
}
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need localmount
|
||||||
|
}
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue