|
|
@ -13,7 +13,7 @@ _astronaut="$(dirname "$0")/astronaut" |
|
|
|
[ ! -f "$_astronaut" ] && _astronaut="astronaut" |
|
|
|
|
|
|
|
# Configuration |
|
|
|
dir_wrapper_pacman="$PWD" # Where the packages should be stored |
|
|
|
wrapper_pacman_dir="$PWD" # Where the packages should be stored |
|
|
|
|
|
|
|
# Wrapper functions |
|
|
|
_astronaut_wrapper_pre() { |
|
|
@ -33,8 +33,8 @@ size = $(du -sb --apparent-size "$dir_install" | awk '{print $1}') |
|
|
|
arch = $(uname -m) |
|
|
|
EOF |
|
|
|
|
|
|
|
mkdir -p "$dir_wrapper_pacman" |
|
|
|
cd "$dir_wrapper_pacman" |
|
|
|
mkdir -p "$wrapper_pacman_dir" |
|
|
|
cd "$wrapper_pacman_dir" |
|
|
|
|
|
|
|
# Create the package |
|
|
|
bsdtar --strip-components 1 -C "$dir_install" -czf .MTREE --format=mtree --options='!all,use-set,type,uid,gid,mode,time,size,md5,sha256,link' . |
|
|
|