Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ci-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
ci-common
Commits
4675a5f8
Unverified
Commit
4675a5f8
authored
8 months ago
by
Oliver Smith
Browse files
Options
Downloads
Patches
Plain Diff
install_pmbootstrap: use right config file for v3 (MR 7)
parent
755b5064
No related branches found
No related tags found
1 merge request
!7
Use proper pmaports dir for kconfig check
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install_pmbootstrap.sh
+8
-1
8 additions, 1 deletion
install_pmbootstrap.sh
with
8 additions
and
1 deletion
install_pmbootstrap.sh
+
8
−
1
View file @
4675a5f8
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment