Skip to content

Commit

Permalink
build_chroot: Add --debug to eopkg calls
Browse files Browse the repository at this point in the history
In addition, list enabled repositories in ${SOSROOT}

Signed-off-by: Rune Morling <[email protected]>
  • Loading branch information
ermo committed Jun 29, 2024
1 parent 155a829 commit 515f101
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build_chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ basicSetup () {
local chroot="sudo systemd-nspawn --as-pid2 --quiet -D ${SOLROOT}" # better chroot essentially
#local chroot="sudo chroot ${SOLROOT}"
# necessary cruft for sudo to work with the eopkg_venv
local eopkg_py3="sudo -E env PATH=${PATH} eopkg.py3"
local eopkg_bin='eopkg.bin'
local eopkg_py3="sudo -E env PATH=${PATH} eopkg.py3 --debug"
local eopkg_bin='eopkg.bin --debug'
local mkdir='sudo mkdir -pv'

local eopkg_py3_path="$(command -v eopkg.py3)"
Expand Down Expand Up @@ -171,6 +171,9 @@ basicSetup () {
printInfo "${MSG}"
${eopkg_py3} remove-repo Solus -D "${SOLROOT}" || die "${MSG}"

MSG="Listing enabled repositories ..."
printInfo "${MSG}"
${eopkg_py3} list-repo -D "${SOLROOT}" || die "${MSG}"
#MSG="Installing baselayout ..."
#${eopkg_py3} install -y -D "${SOLROOT}" --ignore-safety --ignore-comar baselayout || die "${MSG}"

Expand Down

0 comments on commit 515f101

Please sign in to comment.