mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-03 15:29:29 +00:00
swupd-add-pkg: Fix upstream url not being filled in
The script should be calling init-mix to fully and correctly setup the mix directory. Without this, the upstream url was never being recorded, and the yum-mix.conf did not get the URL substituted during chroots phase. Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
This commit is contained in:
committed by
Matthew Johnson
parent
45bec26eea
commit
2c3dd5e833
@@ -53,6 +53,8 @@ fi
|
||||
clearver=$(cat $MIX_DIR/.clearversion | tr -d ' ')
|
||||
echo -n "$clearver" | sudo tee "$MIX_DIR/version" > /dev/null
|
||||
|
||||
sudo mixer init-mix -clearver $(cat "$MIX_DIR/.clearversion") -mixver $(cat "$MIX_DIR/.mixversion") -config "$BUILDCONF"
|
||||
|
||||
if [[ -n "$pkg" && -n "$bundle" ]]; then
|
||||
echo "Adding $pkg to $bundle..."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user