Check-in [00e6414a7d]
Overview
Comment:Use AppFS packaged Tardy to create Slackware package
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:00e6414a7dcdceb0dd238cb2df49bafb174a4d36
User & Date: rkeene on 2020-05-12 17:50:51
Other Links: manifest | tags
Context
2020-05-12
18:10
Added script to do post-release upload to Fossil check-in: fbe84a64fb user: rkeene tags: trunk
17:50
Use AppFS packaged Tardy to create Slackware package check-in: 00e6414a7d user: rkeene tags: trunk
17:50
Upgrade to latest KitCreator for static builds check-in: 5b7d40eb7e user: rkeene tags: trunk
Changes

Modified build/make-slackware-package from [f3333b1483] to [44af0f063b].

    23     23   fi
    24     24   
    25     25   workdir="${TMPDIR:-/tmp}/appfs-slackware-package-${version}-$$${RANDOM}${RANDOM}${RANDOM}"
    26     26   package="appfs-${version}-${platform}-${version_release}.txz"
    27     27   mkdir "${workdir}" || exit 1
    28     28   
    29     29   (
    30         -	PATH="${PATH}:/sbin"
           30  +	PATH="${PATH}:/sbin:/opt/appfs/rkeene.org/tardy/platform/latest/bin"
    31     31   
    32     32   	set -x
    33     33   
    34     34   	cd "${workdir}" || exit 1
    35     35   
    36     36   	installdir="$(pwd)/installed"
    37     37   
................................................................................
    59     59   appfs:
    60     60   appfs:
    61     61   _EOF_
    62     62   
    63     63   	makepkg -c n -l y "../${package}" || exit 1
    64     64   
    65     65   	if [ "$(id -u)" != '0' ]; then
           66  +		set -o pipefail
    66     67   		xz -dc "../${package}" | tardy -User 0 -Group 0 | xz -9c > "../${package}.new" || exit 1
    67     68   		mv "../${package}.new" "../${package}" || exit 1
    68     69   	fi
    69     70   ) || exit 1
    70     71   
    71     72   mv "${workdir}/${package}" .
    72     73   
    73     74   rm -rf "${workdir}"
    74     75   
    75     76   exit 0