[molecule.examples.scripts] update example scripts to work with Entropy >=0.99.48
This commit is contained in:
@@ -17,6 +17,6 @@ export FORCE_EAPI=2
|
||||
equo update || ( sleep 1200 && equo update ) || exit 1
|
||||
equo upgrade || exit 1
|
||||
echo "-5" | equo conf update
|
||||
rm -rf /var/lib/entropy/packages*
|
||||
rm -rf /var/lib/entropy/client/packages
|
||||
|
||||
equo query list installed -qv > /etc/sabayon-pkglist
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
PKGS_DIR="/sabayon/remaster/pkgs"
|
||||
CHROOT_PKGS_DIR="${CHROOT_DIR}/var/lib/entropy/packages"
|
||||
CHROOT_PKGS_DIR="${CHROOT_DIR}/var/lib/entropy/client/packages"
|
||||
|
||||
echo "Merging back packages"
|
||||
cp "${CHROOT_PKGS_DIR}"/* "${PKGS_DIR}"/ -Ra
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
PKGS_DIR="/sabayon/remaster/pkgs"
|
||||
CHROOT_PKGS_DIR="${CHROOT_DIR}/var/lib/entropy/packages"
|
||||
CHROOT_PKGS_DIR="${CHROOT_DIR}/var/lib/entropy/client/packages"
|
||||
|
||||
[[ ! -d "${PKGS_DIR}" ]] && mkdir -p "${PKGS_DIR}"
|
||||
[[ ! -d "${CHROOT_PKGS_DIR}" ]] && mkdir -p "${CHROOT_PKGS_DIR}"
|
||||
|
||||
Reference in New Issue
Block a user