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

install_pmbootstrap: use right config file for v3 (MR 7)

parent 755b5064
No related branches found
No related tags found
1 merge request!7Use proper pmaports dir for kconfig check
......@@ -72,6 +72,12 @@ fi
pmaports="$(cd "$(dirname "$0")"; pwd -P)"
pmaports_arg=""
if [ -e "$pmaports/pmaports.cfg" ]; then
CFG="pmbootstrap_v3.cfg"
if [ "$PMBOOTSTRAP_TAG" = "2.3.x" ]; then
CFG="pmbootstrap.cfg"
fi
echo "pmbootstrap config file: $CFG"
echo "Found pmaports.cfg in current dir"
pmaports_arg="--aports '$pmaports'"
......@@ -79,8 +85,9 @@ if [ -e "$pmaports/pmaports.cfg" ]; then
# Use the channel of the current branch
mkdir -p ~pmos/.config
( echo "[pmbootstrap]"
echo "is_default_channel = False" ) > ~pmos/.config/pmbootstrap.cfg
echo "is_default_channel = False" ) > ~pmos/.config/"$CFG"
chown -R pmos:pmos ~pmos/.config
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment