diskimage-builder/diskimage_builder/elements/gentoo/pre-install.d/02-gentoo-01-migrate-pax
Matthew Thode c886c4cbe1 Make preinstall.d more deterministic
Reorders the preinstall, making the order more explicit.  Also dedupes
some folder setup.

Change-Id: I423dcba169558ff6037a3382b997675722e77405
2017-11-30 13:48:18 +11:00

12 lines
198 B
Bash
Executable file

#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
# migrate pt_pax flags to xt_pax
if [[ -a /usr/sbin/migrate-pax ]]; then
/usr/sbin/migrate-pax -m
fi