Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cookbook
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
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
redox-os
cookbook
Commits
d553dbc0
Verified
Commit
d553dbc0
authored
Oct 10, 2020
by
Jeremy Soller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent rebuilding pkgar archives
parent
bfc36088
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
repo.sh
repo.sh
+16
-2
No files found.
repo.sh
View file @
d553dbc0
...
...
@@ -26,8 +26,22 @@ do
then
target/release/cook
"
$recipe
"
echo
-e
"
\0
33[01;38;5;155mrepo - legacy tar for
$recipe
\0
33[0m"
>
&2
./cook.sh
"
$recipe
"
tar
if
[
!
-f
"recipes/
$recipe
/stage.tar.gz"
]
then
echo
-e
"
\0
33[01;38;5;155mrepo - legacy packaging
$recipe
\0
33[0m"
>
&2
./cook.sh
"
$recipe
"
tar
$DEBUG
else
TIME_PKG
=
"
$(
$STAT
-c
"%Y"
recipes/
$recipe
/stage.pkgar
)
"
TIME_STAGE
=
"
$(
$STAT
-c
"%Y"
recipes/
$recipe
/stage.tar.gz
)
"
if
[
"
$TIME_PKG
"
-gt
"
$TIME_STAGE
"
]
then
echo
-e
"
\0
33[01;38;5;155mrepo - legacy repackaging
$recipe
\0
33[0m"
>
&2
./cook.sh
"
$recipe
"
untar
tar
$DEBUG
fi
fi
# Match pkgar and tar time
touch
--no-create
--reference
=
"recipes/
$recipe
/stage.tar.gz"
"recipes/
$recipe
/stage.pkgar"
continue
fi
...
...
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