Skip to content
Snippets Groups Projects
Unverified Commit 686cbaf7 authored by Oliver Smith's avatar Oliver Smith
Browse files

install_pmbootstrap.sh: is_default_channel=False

Let pmbootstrap use the channel of the currently checked out pmaports
branch, if pmaports.git exists already. Otherwise, it would try to
change to the branch of the default channel as specified in channels.cfg
(currently "edge").
parent 132c87e6
Branches
Tags
No related merge requests found
Pipeline #144741 passed
......@@ -46,6 +46,12 @@ if [ -e "$pmaports/pmaports.cfg" ]; then
cat /tmp/git_remote_add
exit 1
fi
# Use the channel of the current branch
mkdir -p ~pmos/.config
( echo "[pmbootstrap]"
echo "is_default_channel = False" ) > ~pmos/.config/pmbootstrap.cfg
chown -R pmos:pmos ~pmos/.config
fi
# Download pmbootstrap (to /tmp/pmbootstrap)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment