Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seblu
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
archlinux
linux-seblu
Commits
88a80011
Commit
88a80011
authored
7 years ago
by
Seblu
Browse files
Options
Downloads
Patches
Plain Diff
update_config.sh: call menuconfig when identical
parent
9be4969d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
update_config.sh
+12
-3
12 additions, 3 deletions
update_config.sh
with
12 additions
and
3 deletions
update_config.sh
+
12
−
3
View file @
88a80011
#!/bin/bash -e
#!/bin/bash -e
[[
-e
src/linux/.config
]]
||
makepkg
--nobuild
--force
config_equal
()
{
diff
-q
-s
src/linux/.config config.x86_64
}
(
cd
src/linux
&&
make oldconfig
)
if
config_equal
;
then
(
cd
src/linux
&&
make menuconfig
)
else
[[
-e
src
]]
&&
rm
-r
src
makepkg
--nobuild
--force
(
cd
src/linux
&&
make oldconfig
)
fi
if
!
diff
-q
-s
src/linux/.config config.x86_64
;
then
if
!
config_equal
;
then
cp
src/linux/.config config.x86_64
cp
src/linux/.config config.x86_64
updpkgsums
updpkgsums
fi
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