Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
4d8330ec
Commit
4d8330ec
authored
Apr 12, 2021
by
satmandu
Committed by
GitHub
Apr 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Crew Package Dev workaround (#5606)
* Add workaround for package development * uprev
parent
b362c08d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
crew
crew
+9
-1
lib/const.rb
lib/const.rb
+1
-1
No files found.
crew
View file @
4d8330ec
...
@@ -682,6 +682,14 @@ end
...
@@ -682,6 +682,14 @@ end
def
prepare_package
(
destdir
)
def
prepare_package
(
destdir
)
Dir
.
chdir
destdir
do
Dir
.
chdir
destdir
do
#
Avoid
/
usr
/
local
/
share
/
info
/
dir
{.
gz
}
file
conflict
:
#
The
install
-
info
program
maintains
a
directory
of
installed
#
info
documents
in
/
usr
/
share
/
info
/
dir
for
the
use
of
info
#
readers
.
This
file
must
not
be
included
in
packages
other
#
than
install
-
info
.
#
https
://
www
.
debian
.
org
/
doc
/
debian
-
policy
/
ch
-
docs
.
html
#
info
-
documents
FileUtils
.
rm
"#{CREW_DEST_PREFIX}/share/info/dir"
if
File
.
exist
?(
"#{CREW_DEST_PREFIX}/share/info/dir"
)
#
compress
manual
files
#
compress
manual
files
compress_doc
"#{CREW_DEST_PREFIX}/man"
compress_doc
"#{CREW_DEST_PREFIX}/man"
compress_doc
"#{CREW_DEST_PREFIX}/info"
compress_doc
"#{CREW_DEST_PREFIX}/info"
...
@@ -713,7 +721,7 @@ def prepare_package (destdir)
...
@@ -713,7 +721,7 @@ def prepare_package (destdir)
puts
f
.
lightred
puts
f
.
lightred
pp
=
p
pp
=
p
end
end
abort
abort
unless
ENV
[
'CREW_CONFLICTS_ONLY_ADVISORY'
]
==
'1'
end
end
#
create
directory
list
#
create
directory
list
...
...
lib/const.rb
View file @
4d8330ec
# Defines common constants used in different parts of crew
# Defines common constants used in different parts of crew
CREW_VERSION
=
'1.8.
1
'
CREW_VERSION
=
'1.8.
2
'
ARCH_ACTUAL
=
`uname -m`
.
strip
ARCH_ACTUAL
=
`uname -m`
.
strip
# This helps with virtualized builds on aarch64 machines
# This helps with virtualized builds on aarch64 machines
...
...
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