This commit is contained in:
Alex Janka 2024-05-19 14:24:56 +10:00
parent b5fcb944d1
commit 38276d0cb0

View file

@ -114,8 +114,8 @@ for ((i = 1; i < ${#tarballs[@]}; i += 2)); do
dir=$(mktemp -d) dir=$(mktemp -d)
deb_dir=$dir/debian deb_dir=$dir/debian
mkdir -p $deb_dir mkdir -p $deb_dir
echo $control_file > $deb_dir/control echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" > $deb_dir/control
pkgdir=$dir/$target pkgdir=$deb_dir/$target
mkdir -p $pkgdir/usr/lib/systemd/system mkdir -p $pkgdir/usr/lib/systemd/system
echo $service_file > $pkgdir/usr/lib/systemd/system/$target.service echo $service_file > $pkgdir/usr/lib/systemd/system/$target.service