Commit Graph

166 Commits

Author SHA1 Message Date
popcornmix
850f420871 Updated readme to clarify use on non-raspbian distributions is not advised 2016-08-30 15:33:42 +01:00
popcornmix
a05ee801c0 Merge pull request #211 from lurch/patch-1
Skip asking github for latest hash, if we're requesting a specific hash
2016-08-02 17:55:01 +01:00
Andrew Scheller
e83878eeae Skip asking github for latest hash, if we're requesting a specific hash
Means one less call to curl in that scenario
2016-08-02 09:23:19 +01:00
popcornmix
b19779b2c8 Exit with error message is git hash is invalid 2016-07-24 11:49:26 +01:00
shrx
234c16ec73 check kernel version and issue warning if necessary
Fixes #178
2016-07-24 11:41:16 +01:00
popcornmix
acafe3efbc Merge pull request #214 from adararnon/feature/Module7.symvers
WANT_SYMVERS now also copies Module7.symvers
2016-07-23 11:57:55 +01:00
Adar Arnon
170dbdc1f6 WANT_SYMVERS now also copies Module7.symvers 2016-07-23 10:50:32 +00:00
popcornmix
d41725bf70 Also support updating dynamic device tree files 2016-03-13 17:50:52 +00:00
popcornmix
31615deb94 Merge pull request #199 from grigorig/fix-hardfloat
Fix hard-float detection
2015-11-18 12:55:06 +00:00
Grigori Goronzy
24e781eb57 Fix hard-float detection
On binaries built with newer toolchains, hard-float can only be
detected with readelf -h.
2015-11-17 23:59:44 +01:00
popcornmix
7fa09b5b43 Merge pull request #198 from shaun10/master
Added expert option section to README.md regarding popcorn mix #197 enhancement
2015-11-13 13:41:19 +00:00
Shaun
308dd58d61 Added expert option section to README.md regarding popcornmix enhancement for issue #197, PRUNE_MODULES.
README updates for PRUNE_MODULES boolean option. Noted setting parameter to non-zero value will enable the pruning
2015-11-12 19:42:26 -08:00
popcornmix
c2e66a8f7f Add option to prune older modules directories
See: https://github.com/Hexxeh/rpi-update/issues/197
2015-11-10 15:20:19 +00:00
popcornmix
3d0ce93010 Merge pull request #191 from TwizzyDizzy/master
Fix output of commit messages - kind of
2015-09-04 13:04:37 +01:00
Thomas Dalichow
ef81e00a62 Fix output of commit messages - kind of
This fixes unnecessary newlines and prints one commit per line. An additional prefix of "Commit: " is added to make grepping for the count of new commits possible for external scripts that take the output of rpi-update as input (I am currently writing a Nagios/Icinga check that makes it possible to monitor how many commits one is behind the chosen ${BRANCH}).

That being said, I find the current way of collecting the commits ${BRANCH} master to be kind of fragile. I may fix this another time.
2015-09-03 21:56:35 +02:00
popcornmix
d78fc53fdc Merge pull request #183 from JackDanger/patch-1
Adding --silent flag to curling text file
2015-07-21 17:26:04 +01:00
Jack Danger Canty
c7f88e4e6f Adding --silent flag to curling text file
This file isn't a huge binary so I think it's appropriate to use the `-s` flag like elsewhere in this file.
2015-07-21 01:38:28 -07:00
popcornmix
65564edc0e Add option to SKIP_WARNING 2015-06-22 16:11:09 +01:00
popcornmix
299a261dd1 Allow rpi-update to an empty directory
Not directly useful, but allows the files retrieved by rpi-update
to be examined without performing a real update.
2015-06-21 12:26:22 +01:00
popcornmix
ad30fdd223 Merge pull request #171 from XECDesign/notice
Print NOTICE.md
2015-03-31 14:57:40 +01:00
popcornmix
db698b1a70 Merge pull request #170 from XECDesign/master
Check for NOOBS files in /boot
2015-03-31 14:57:01 +01:00
Serge Schneider
ba094cac9d Check for NOOBS files in /boot 2015-03-31 14:45:58 +01:00
Serge Schneider
6bb57b7f44 Print NOTICE.md 2015-03-31 14:45:45 +01:00
popcornmix
1f02f85bb8 Fix existence checks for backup directories.
See: https://github.com/Hexxeh/rpi-update/issues/169
2015-03-26 15:41:13 +00:00
popcornmix
f1ce518c6f Remove old modules before installing new ones: Avoid removing extra modules 2015-02-18 17:07:45 +00:00
popcornmix
fb5babdaab Remove old modules before installing new ones
See: https://github.com/Hexxeh/rpi-update/issues/106
2015-02-18 16:19:45 +00:00
popcornmix
74c550697a Merge pull request #160 from lurch/patch-2
Minor consistency fixes
2015-01-30 16:52:27 +00:00
Andrew Scheller
8c76703ea0 Minor consistency fixes 2015-01-30 01:03:35 +00:00
popcornmix
ffb686f12a Merge pull request #159 from lurch/patch-1
Also copy the overlays README file
2015-01-29 15:55:42 +00:00
Andrew Scheller
aba0d5f9d4 Also copy the overlays README file
(and fix some variable-quoting)
2015-01-29 14:19:31 +00:00
popcornmix
82ca97bb2e Use /bin/sh rather than /bin/bash for determining hard/soft float
See: https://github.com/Hexxeh/rpi-update/issues/153
2014-12-07 14:51:57 +00:00
popcornmix
a7513b5aff Also copy device tree overlays if present 2014-12-02 16:50:36 +00:00
popcornmix
01f135f626 Skip printing base commit message when JUST_CHECK=1 2014-09-27 16:57:59 +01:00
popcornmix
e34682893d Add a JUST_CHECK=1 option which just reports if a firmware update is needed
Exit code which will be 0 if up to date, and 2 if a firmware update would have occurred.
Also the new commits will be printed to stdout
2014-09-25 22:32:57 +01:00
popcornmix
4b4f910b35 Skip modules backup if path doesn't exist 2014-09-09 16:44:44 +01:00
popcornmix
69f891cf0d Merge pull request #147 from ghollingworth/patch-1
Stop rpi-update deleting dt-blob.bin
2014-08-20 12:40:02 +01:00
ghollingworth
59b09e6e1c Stop rpi-update deleting dt-blob.bin
dt-blob.bin is used to configure a platform's pin settings and clock settings and must not be changed when we do an rpi-update.  This is a function of the platform rather than a function of the operating system and therefore shouldn't be removed
2014-08-20 10:04:57 +01:00
popcornmix
e05cd7ab73 Update url to githubusercontent 2014-07-05 17:38:53 +01:00
popcornmix
5c6597bbbc Merge pull request #144 from kcl-lescalan/patch-1
Update README.md
2014-07-05 12:30:37 +01:00
Luis
9703e67f32 Update README.md
Upon installation of the tool, the command executed writes rpi-update to /usr/bin detailing a 301 error, indicating the source of the update has changed to https://raw.githubusercontent.com/Hexxeh/rpi-update/master/rpi-update. This address change has been reflected in the proposed file change.
2014-07-04 12:22:26 -07:00
popcornmix
8d0b623ccd Merge pull request #139 from lurch/patch-1
Small header tidyup
2014-05-05 11:09:56 +01:00
Andrew Scheller
22c07c592d Small header tidyup 2014-05-05 01:14:28 +01:00
popcornmix
f7baa38557 Support install from local repo.
See: https://github.com/Hexxeh/rpi-update/issues/134
2014-04-15 12:52:59 +01:00
popcornmix
5ff5b1098d cosmetic: Make use the REPO_API variable 2014-04-15 12:29:04 +01:00
popcornmix
1d6f6e7bcd Update readme for latest version of rpi-update 2014-04-05 15:47:16 +01:00
popcornmix
41e23a0924 Download firmware without using git
This removes the requirement for git. We never make use of partial git updates,
and it is quicker to download the tarball with curl than use git.

Also piping the curl output into tar is quicker than downloading then un-tarring.

Remove the verbose options from the copies (they don't fail, slow down the copies
and swamp any more useful output messages).

By default delete /root/.rpi_firmware (as it's easy to recreate). Use
SKIP_REPODELETE=1 if you want to keep it.

Add option SKIP_BACKUP=1 if you don't want a backup of old firmware and modules.
2014-04-05 15:28:52 +01:00
popcornmix
dd495b8dd7 Switch from wget to curl for downloads
May solve issues like https://github.com/Hexxeh/rpi-update/issues/65
2014-03-21 10:47:34 +00:00
popcornmix
4ce7af12ea Merge pull request #119 from notro/master
Add support for pre/post install scripts and Device Tree Blobs
2013-11-05 12:40:00 -08:00
notro
127f4ce3ec Add support for pre/post install scripts and Device Tree Blobs 2013-11-03 11:13:01 +00:00
popcornmix
8ac9efee96 Merge pull request #116 from lurch/patch-1
Separate updating of vc_libs and sdk, allow sdk to be skipped
2013-09-02 02:45:34 -07:00