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
a12b300c
Commit
a12b300c
authored
Jul 04, 2017
by
lyxell
Committed by
GitHub
Jul 04, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #815 from jam7/refactor/crew-no-auto-buildessential
Change crew to not automatically install buildessential
parents
2ef70287
79da9fb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
crew
crew
+0
-11
No files found.
crew
View file @
a12b300c
...
...
@@ -504,9 +504,6 @@ end
def
expand_dependencies
@
dependencies
=
[]
#
check
source
packages
existance
@
source_package
=
0
def
push_dependencies
if
@
pkg
.
is_binary
?(@
device
[:
architecture
])
||
(
!@pkg.in_upgrade && !@pkg.build_from_source && @device[:installed_packages].any? { |pkg| pkg[:name] == @pkg.name })
...
...
@@ -518,8 +515,6 @@ def expand_dependencies
else
# retrieve name of all dependencies
check_deps = @pkg.dependencies.map {|k, v| k}
# count the number of source packages to add buildessential into dependencies later
@source_package += 1
end
# remove a dependent package which is equal to the target
...
...
@@ -537,12 +532,6 @@ def expand_dependencies
push_dependencies
# Add buildessential'
s
dependencies
if
any
of
dependent
#
packages
are
made
from
source
if
@
source_package
>
0
search
'buildessential'
,
true
push_dependencies
end
@dependencies.uniq
end
...
...
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