Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow updating raspisync from the running system #2

Open
devste opened this issue Dec 15, 2015 · 0 comments
Open

Allow updating raspisync from the running system #2

devste opened this issue Dec 15, 2015 · 0 comments
Assignees

Comments

@devste
Copy link
Owner

devste commented Dec 15, 2015

Allow the update from within the system:

  1. In buildroot directory (local): run make to create the new system.
  2. Copy the necessary files to raspisync (using ssh with pre-installed SSH keys)
  3. Run the update from SSH on the raspisync (untarring or similar).
  4. Reboot
@devste devste self-assigned this Dec 15, 2015
@devste devste modified the milestones: 0.2 - Init script & live-system update, 0.2 - Init script, 0.3 - Live system update Dec 15, 2015
devste pushed a commit that referenced this issue Dec 16, 2015
Also:
  - unfuzz patches #1 and #2
  - remove applied patches upstream

Signed-off-by: Jörg Krause <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
devste pushed a commit that referenced this issue May 22, 2016
Well-formed patch fails to apply
- patch v2.6:
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 23.
- patch v2.6.1:
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
[snip]
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
Patch failed!  Please fix 0001-fix-makefile.patch!

Old versions of the tool "patch" cannot handle spaces in filenames.
The same does not occur using "patch" v2.7 or any later.

Workaround: when a file with space in the name needs to be patched,
one or two hooks must be used.
A pre-patch or post-extract hook renames the file to replace spaces
with underscores.
The patch file must be generated using diff between two source-trees
that have the file renamed with spaces replaced by underscores.
A post-patch hook could rename the file to its original name if needed.

Fixes:
http://autobuild.buildroot.net/results/8ff/8ff91ab8e52000eb34dd8f662520cf1b31490cf5/
http://autobuild.buildroot.net/results/ea7/ea77d6b23aca0cb1cf527e6c16ddf5eba957a69c/

Signed-off-by: Ricardo Martincoski <[email protected]>
Cc: Bernd Kuhls <[email protected]>
Cc: Thomas Petazzoni <[email protected]>
Cc: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
devste pushed a commit that referenced this issue May 29, 2016
Rebased patch #1.
Removed patch #2, applied upstream:
gnuradio/gnuradio@3e2dc16

Signed-off-by: Bernd Kuhls <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
devste pushed a commit that referenced this issue May 29, 2016
Also:
 - add a hash file.
 - replace patch #2 by passing the DEFAULT_TARGET to poco
 - remove patch #3 as it is obsolet since upstream commit
   010f7a5370be450109f1726e39d5b193e63a6373
 - remove patch #0004 which is applied upstream
 - remove patch #0005 which is fixed by upstream different

Signed-off-by: Jörg Krause <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant