Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
See what's new at GitLab
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
S
slarm64-current
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mara
slarm64-current
Commits
15564ab8
Commit
15564ab8
authored
Sep 23, 2017
by
mara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix apply all patches
parent
84aadcc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
aarch64_build_kit.sh
aarch64_build_kit.sh
+5
-6
No files found.
aarch64_build_kit.sh
View file @
15564ab8
...
...
@@ -8,7 +8,7 @@ THREADS=$(($(grep -c 'processor' /proc/cpuinfo)-2))
#source "l-packages.conf" || exit 1
#source "tcl-packages.conf" || exit 1
#source "d-packages.conf" || exit 1
#
#
source "ap-packages.conf" || exit 1
#source "ap-packages.conf" || exit 1
##source "a-packages.conf" || exit 1
source
"l.conf"
||
exit
1
#source "n-packages.conf" || exit 1
...
...
@@ -63,14 +63,13 @@ esac\n/};p' -i "${_WORK_DIR}/${pf}"
fix_global
()
{
[[
-z
"
$1
"
]]
&&
return
1
sed
-e
"s/
\"
-j.
\"
/
\"
-j
$THREADS
\"
/"
\
-e
's/\(-slackware\)\(-linux.*\s\)/-unknown\2/g'
\
-e
's/\(-slackware\)\(-linux$\)/-unknown\2/g'
\
-i
${
_WORK_DIR
}
/
${
1
}
.SlackBuild
# -e 's/\(-slackware\)\(-linux.*\s\)/-unknown\2/g' \
# -e 's/\(-slackware\)\(-linux$\)/-unknown\2/g' \
# -i ${_WORK_DIR}/${1}.SlackBuild
}
patching_files
()
{
local
PATCH_FILES
=
$(
find
-maxdepth
1
-type
f |
grep
patch
|
sed
's#.patch$
##'
)
local
PATCH_FILES
=
$(
find
-maxdepth
1
-type
f |
grep
patch
$
|
sed
's#.patch
##'
)
local
count
=
1
for
pf
in
"
${
PATCH_FILES
}
"
;
do
pf
=
$(
basename
"
$pf
"
)
...
...
@@ -98,10 +97,10 @@ build() {
p
=
$(
echo
${
_PKG
}
|
cut
-d
'/'
-f2
)
# if [[ ! $(ls ${_INSTALL}/$t/ | grep "$p-") ]];then
# removepkg $p
[[
-e
.ignore
]]
&&
continue
remove_work_dir
"
${
_PKG
}
"
prepare_work_dir
"
${
_PKG
}
"
pushd
${
_BUILD
}
/
${
_PKG
}
2>&1>/dev/null
[[
-e
.ignore
]]
&&
continue
patching_files STATUS
[[
$STATUS
==
1
]]
&&
fix_default
fix_global
${
p
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment