Commit Graph

122 Commits

Author SHA1 Message Date
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
Andrew Scheller
a1fb550f90 Separate updating of vc_libs and sdk, allow sdk to be skipped 2013-09-02 10:24:23 +01:00
popcornmix
feae51ecea Merge pull request #115 from lurch/patch-1
Added a new $WORK_PATH variable
2013-09-01 09:21:38 -07:00
Andrew Scheller
87044fbb40 Added a new $WORK_PATH variable
Useful if you don't want to write files directly into /root
2013-09-01 16:52:06 +01:00
popcornmix
2c61ad2663 Merge pull request #110 from lurch/patch-1
Ensure all string variables are fully quoted
2013-09-01 07:27:26 -07:00
Andrew Scheller
522a20f384 Ensure all string variables are fully quoted 2013-09-01 15:15:53 +01:00
popcornmix
3a2399c01d Merge pull request #113 from lurch/patch-5
Status message updates
2013-09-01 06:16:25 -07:00
popcornmix
730661eff8 Merge pull request #112 from lurch/patch-4
Remove $GITCMD variable
2013-09-01 06:15:55 -07:00
Andrew Scheller
b514610443 Status message updates
Make it clearer that "modules" actually means "kernel modules", and display a message while extracting tarball (which can take a while).
2013-09-01 12:53:14 +01:00
Andrew Scheller
6f8dc5f9bb rev-parse git command doesn't need the --work-tree argument
small tidyup
2013-09-01 12:51:15 +01:00
Andrew Scheller
742f9a3c48 Remove $GITCMD variable
After commit c5d159c $GITCMD is only used once, so 'inline it', which also allows us to get rid of the 'eval' call.
2013-09-01 12:51:15 +01:00
popcornmix
5437dc0e03 Merge pull request #114 from lurch/patch-6
Slight tweak to the "startup logic"
2013-08-31 03:15:38 -07:00
popcornmix
773deea153 Merge pull request #111 from lurch/patch-3
Replace usages of $FW_PATH/.firmware_revision with a $FW_REVFILE variabl...
2013-08-31 03:12:04 -07:00
popcornmix
ff9ebabec8 Merge pull request #108 from lurch/patch-2
Remove embedded shebang
2013-08-31 03:09:21 -07:00
Andrew Scheller
a8a404c05a Slight tweak to the "startup logic"
This fixes #102  (which would also get triggered if you rpi-updated to a specific revision, and then later tried rpi-updating to the latest revision)
2013-08-28 01:13:43 +01:00
Andrew Scheller
6bab03cbc9 Replace ${FW_REPOLOCAL}/${FW_REV}.tar.gz with $FW_TARBALL 2013-08-27 02:02:24 +01:00
Andrew Scheller
b7d3dba7d2 Replace usages of $FW_PATH/.firmware_revision with a $FW_REVFILE variable 2013-08-26 20:10:27 +01:00
popcornmix
1b9a011e7d Merge pull request #107 from lurch/patch-1
Whitespace fix
2013-08-22 07:21:31 -07:00
Andrew Scheller
99db681c0f Remove embedded shebang
.updateScript.sh doesn't need the #! line because it specifically gets exec-ed using /bin/bash
2013-08-22 02:34:13 +01:00
Andrew Scheller
0c159dc347 Whitespace fix
make the indentation consistent with the rest of the file
2013-08-22 02:25:47 +01:00
popcornmix
ec1ef11c92 Allow REPO_URI to be overridden.
See: https://github.com/Hexxeh/rpi-update/issues/104
2013-08-12 20:44:42 +01:00
popcornmix
e92f4b3bf0 Don't require /lib/modules when SKIP_KERNEL is requested pt 2 2013-05-29 23:32:24 +01:00
popcornmix
ee7802a25a Don't require /lib/modules when SKIP_KERNEL is requested 2013-05-28 23:24:24 +01:00
popcornmix
b6b9bae712 Merge pull request #94 from GrmpCerber/PackagedInstallAndTlsEverywhere
Packaged install and tls everywhere
2013-05-18 17:04:12 -07:00
Cerber
c34d0dd003 Correction for #92
https://github.com/Hexxeh/rpi-update/issues/92
2013-05-18 21:51:16 +02:00
Cerber
777e3140d6 Changed install procedure since rpi-update is now available as a package.
See #93
https://github.com/Hexxeh/rpi-update/issues/93

Restoring old installation technique following comments of skgsergio in
addition of the new `apt` based installation

mending indentation
2013-05-18 21:51:09 +02:00
Liam McLoughlin
2734929ab5 Add LICENSE 2013-05-10 12:44:51 +01:00
popcornmix
3b81f95014 Merge pull request #91 from Vincent-C/master
rpi-update incorrectly detects latest git commit when called with BRANCH=next
2013-05-05 02:47:34 -07:00
Vincent Cheng
b095daee22 rpi-update incorrectly detects latest git commit when called with BRANCH=next, because 'master' is hardcoded into the check 2013-05-05 02:23:52 -07:00
popcornmix
7fc78f81b1 Merge pull request #89 from rm-hull/master
BRANCH env variable allows alternate branch to be specified
2013-04-20 07:54:34 -07:00
Richard Hull
a933ec64ae BRANCH env variable allows alternate branch to be specified 2013-04-19 23:35:58 +01:00
popcornmix
fc31bc780a Merge pull request #85 from leucos/fix-#84
Updates .firmware_revision when revision set at CLI
2013-04-11 07:41:10 -07:00
Michel Blanc
57ea0f1c14 Updates .firmware_revision when revision set at CLI
When revision was specified at the command line,
$FW_PATH/.firmware_updating wasn't updated to reflect the change.
Now $FW_PATH/.firmware_updating is always updated, so idempotency is
achieved when using revision Id's at the command line.
Fixes #84
2013-04-11 16:26:38 +02:00
popcornmix
85b714f4fc Merge pull request #67 from technion/master
Insecure tmp file handling
2013-03-06 07:44:44 -08:00
popcornmix
08fc0b1edb Mention git-core is required in the preparations. Move certificates issues to troubleshooting section. 2013-03-06 14:47:59 +00:00
popcornmix
f87b3014de Merge pull request #72 from Churten/master
Ask git server about head revision before downloading
2013-03-05 10:43:19 -08:00
Matthew Gabeler-Lee
792b730135 Ask git server what head revision is before downloading the repo 2013-02-13 20:18:22 -05:00
popcornmix
10ad1e975a Merge pull request #69 from pcimino/master
Update readme
2013-02-10 06:49:28 -08:00
Paul Cimino
7ac8ca4648 Minor update, some beginners might not realize they have to install ntpdate 2013-02-10 09:46:33 -05:00
Technion
23ba5111e9 Removed insecure temp file 2013-02-07 11:49:01 +11:00
popcornmix
c5d159c8b1 Updating a depth=1 git tree doesn't work, so just kill it and clone a new one 2013-01-30 20:09:09 +00:00
popcornmix
37f02a03bd Fix type in module backup destination 2013-01-10 15:48:54 +00:00
popcornmix
8ef422ab5f Remove vcfiled stop/start. It is not used and caused errors with vchiq version changes 2013-01-08 17:13:13 +00:00
popcornmix
214184a62f Handle errors from a git update by cloning a fresh repo.
Remove old backup directory before creating a new one. Avoids recursive backup when removing .rpi-firmware
2013-01-08 17:11:40 +00:00
popcornmix
0609fa400a Fix sudo on second part of install command 2013-01-08 10:56:28 +00:00