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
67d6b14a
Commit
67d6b14a
authored
Jan 15, 2018
by
Gangstead
Committed by
GitHub
Jan 15, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1654 from uberhacker/add-cros_resize-package
Add cros_resize package
parents
bcdfccee
cc1d50c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
packages/cros_resize.rb
packages/cros_resize.rb
+20
-0
No files found.
packages/cros_resize.rb
0 → 100644
View file @
67d6b14a
require
'package'
class
Cros_resize
<
Package
description
'A partition resizing tool for Chrome OS devices.'
homepage
'https://github.com/ethanmad/chromeos-resize'
version
'6b01b7'
source_url
'https://raw.githubusercontent.com/ethanmad/chromeos-resize/6b01b71f649dbf77b2e6ac932e8ad868e8272250/cros-resize.sh'
source_sha256
'747ef80f29a94500304f23595c5edfa46edd4b4fa5a40d399b474984004e9ffe'
binary_url
({
})
binary_sha256
({
})
def
self
.
install
system
'wget https://raw.githubusercontent.com/ethanmad/chromeos-resize/6b01b71f649dbf77b2e6ac932e8ad868e8272250/cros-resize.sh'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'cros-resize.sh'
)
)
==
'747ef80f29a94500304f23595c5edfa46edd4b4fa5a40d399b474984004e9ffe'
system
"install -Dm755 cros-resize.sh
#{
CREW_DEST_PREFIX
}
/bin/cros-resize"
end
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