Document and complete rpi-resizerootfs hook
The main trigger was a missing program in the initramfs, which probably everyone assumed was there ... but wasn't. (See next commit ...) So instead list every program that we need/call, so that we *know* that that program is included in the initramfs. Also document this new 'policy'. Also group the programs by the package which has them and sort the list alphabetically by the package names.
This commit is contained in:
parent
1b194afcc9
commit
205dc21718
|
@ -13,11 +13,32 @@ esac
|
||||||
|
|
||||||
. /usr/share/initramfs-tools/hook-functions
|
. /usr/share/initramfs-tools/hook-functions
|
||||||
|
|
||||||
# XXX: tail and realpath are included by default, right?
|
# List ALL the programs we need, because we explicitly call them
|
||||||
#copy_exec /usr/bin/realpath
|
# Don't *assume* it will be included!
|
||||||
#copy_exec /usr/bin/tail
|
# The update-initramfs script will figure out any dependencies
|
||||||
copy_exec /sbin/blkid
|
# that also need to be included, so lets not do that
|
||||||
copy_exec /bin/lsblk
|
#
|
||||||
|
# Find the path as used by the package itself; usrmerge may not be used
|
||||||
|
|
||||||
|
# from coreutils
|
||||||
|
copy_exec /usr/bin/realpath
|
||||||
|
copy_exec /usr/bin/tail
|
||||||
|
copy_exec /usr/bin/test
|
||||||
|
|
||||||
|
# from e2fsprogs
|
||||||
|
copy_exec /sbin/resize2fs
|
||||||
|
|
||||||
|
# from grep
|
||||||
|
copy_exec /bin/grep
|
||||||
|
|
||||||
|
# from mount
|
||||||
|
copy_exec /bin/mount
|
||||||
|
copy_exec /bin/umount
|
||||||
|
|
||||||
|
# from parted
|
||||||
copy_exec /sbin/parted
|
copy_exec /sbin/parted
|
||||||
copy_exec /sbin/partprobe
|
copy_exec /sbin/partprobe
|
||||||
copy_exec /sbin/resize2fs
|
|
||||||
|
# from util-linux
|
||||||
|
copy_exec /bin/lsblk
|
||||||
|
copy_exec /sbin/blkid
|
||||||
|
|
Loading…
Reference in New Issue