diff options
author | Greg Sutcliffe | 2015-06-29 22:43:32 +0100 |
---|---|---|
committer | Greg Sutcliffe | 2015-06-29 22:43:32 +0100 |
commit | 60e0be851a92758d62482972fb3ffff8e906ff2d (patch) | |
tree | 2f509842677b0c4e99856c37f7179410d898004e /growfs-install | |
download | aur-mkinitcpio-growrootfs.tar.gz |
Initial import
Diffstat (limited to 'growfs-install')
-rw-r--r-- | growfs-install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/growfs-install b/growfs-install new file mode 100644 index 000000000000..f3ac5b62cec1 --- /dev/null +++ b/growfs-install @@ -0,0 +1,19 @@ +#!/bin/bash + +build() { + add_binary date + add_binary growpart + add_binary resize2fs + add_binary sfdisk + add_runscript +} + +help() { + cat <<HELPEOF +This hook expands the root filesystem to the size of the partition +which is mostly useful for cloud images to expand to the block device +they've been given. +HELPEOF +} + +# vim: set ft=sh ts=4 sw=4 et: |