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
24
25
26
27
28
29
30

31
32
33
34
35
36
37
23
24
25
26
27
28
29

30
31
32
33
34
35
36
37







-
+







fi

workdir="${TMPDIR:-/tmp}/appfs-slackware-package-${version}-$$${RANDOM}${RANDOM}${RANDOM}"
package="appfs-${version}-${platform}-${version_release}.txz"
mkdir "${workdir}" || exit 1

(
	PATH="${PATH}:/sbin"
	PATH="${PATH}:/sbin:/opt/appfs/rkeene.org/tardy/platform/latest/bin"

	set -x

	cd "${workdir}" || exit 1

	installdir="$(pwd)/installed"

59
60
61
62
63
64
65

66
67
68
69
70
71
72
73
74
75
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76







+










appfs:
appfs:
_EOF_

	makepkg -c n -l y "../${package}" || exit 1

	if [ "$(id -u)" != '0' ]; then
		set -o pipefail
		xz -dc "../${package}" | tardy -User 0 -Group 0 | xz -9c > "../${package}.new" || exit 1
		mv "../${package}.new" "../${package}" || exit 1
	fi
) || exit 1

mv "${workdir}/${package}" .

rm -rf "${workdir}"

exit 0