Skip to content

Commit

Permalink
scripts/create_packages: Update XBPS and OS packages before using xbp…
Browse files Browse the repository at this point in the history
…s-src

Signed-off-by: Timo Reichl <[email protected]>
  • Loading branch information
thetredev committed Mar 17, 2024
1 parent ed66561 commit c875210
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/create_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ for xbps_pkg in $(ls -1 /workspace/packages); do
sed -i "s/%XDEB_INSTALL_BINARY_SHA256%/${xbps_pkg_binary_checksum}/" srcpkgs/${xbps_pkg}/template
sed -i "s/%XDEB_INSTALL_LICENSE_SHA256%/${xbps_pkg_license_checksum}/" srcpkgs/${xbps_pkg}/template

# lint the package sources
xlint ${xbps_pkg} || exit 1

# update XBPS and OS packages
xbps-install -Syu xbps || exit 1
xbps-install -yu || exit 1

# build package
./xbps-src pkg -Q ${xbps_pkg} || exit 1
done

0 comments on commit c875210

Please sign in to comment.