The hook scripts are now only passed a single argument on the command line - the name of the mount point. The hostname is now accessible via the environment.
12 lines
198 B
Bash
Executable File
12 lines
198 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# This script runs 'apt-get clean' on the freshly created image,
|
|
# to make sure it has the maximum available amount of free space.
|
|
#
|
|
|
|
|
|
prefix=$1
|
|
|
|
chroot $prefix /usr/bin/apt-get clean
|
|
|