01fce7b70c
This checks the profile, if it has hardened in it's name it needs xattr support unfortunately xattr support cannot yet be relied on everywhere, so it needs to be disabled for hardened profile builds to correctly pax-mark. Change-Id: I7fb855249a9e6c9b6497ab5061b4ea3c014f5081 Closes-Bug: 1537177
14 lines
269 B
Bash
Executable file
14 lines
269 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin
|
|
|
|
# migrate pt_pax flags to xt_pax
|
|
if [[ -a /usr/sbin/migrate-pax ]]; then
|
|
/usr/sbin/migrate-pax -m
|
|
fi
|