Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
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
7072721a
Commit
7072721a
authored
Sep 22, 2017
by
mara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add copy patches to work directory
parent
44f004b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
aarch64_build_kit.sh
aarch64_build_kit.sh
+9
-7
No files found.
aarch64_build_kit.sh
View file @
7072721a
...
...
@@ -8,10 +8,10 @@ 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 "a-packages.conf_
" || exit 1
#
source "l.conf" || exit 1
source
"n-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
_BUILD
=
"
${
_CWD
}
/slackwarearm64-current/source"
...
...
@@ -35,6 +35,7 @@ prepare_work_dir() {
ln
-s
"
${
_SOURCE
}
/
$1
/
$f
"
"
${
_BUILD
}
/
$1
/
${
_WORK_DIR
}
/
$(
basename
$f
)
"
fi
done
cp
-a
${
_BUILD
}
/
$1
/
*
.xz
"
${
_BUILD
}
/
$1
/
${
_WORK_DIR
}
/"
}
fix_default
()
{
...
...
@@ -61,9 +62,10 @@ 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
()
{
...
...
@@ -101,7 +103,7 @@ build() {
[[
-e
.ignore
]]
&&
continue
patching_files STATUS
[[
$STATUS
==
1
]]
&&
fix_default
#
fix_global ${p}
fix_global
${
p
}
pushd
${
_WORK_DIR
}
2>&1>/dev/null
./
${
p
}
.SlackBuild 2>&1 |
tee
${
p
}
.build.log
if
[[
${
PIPESTATUS
[0]
}
==
1
]]
;
then
...
...
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