You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
if I start "sysupgrade -v /tmp/openwrt-x86-64-combined-squashfs.img.gz" my image will not be updated.
System:
OpenWrt 18.06-SNAPSHOT, r7876-491e839262
Package:
sysupgrade
Problem:
As I mentioned earlier, I was suspicious that gzip wasn't making it to the ramdisk..so I did some digging into how the ramdisk is assembled and found the gzip was indeed missing from the list of packages to copy over in /lib/upgrade/stage2.
Solution:
Here is the relevant function, note how gzip is missing from the list of binaries!
/lib/upgrade/stage2
switch_to_ramfs() {
for binary in
/bin/busybox /bin/ash /bin/sh /bin/mount /bin/umount
pivot_root mount_root reboot sync kill sleep
md5sum hexdump cat zcat bzcat dd tar \
sharbich:
Hi,
if I start "sysupgrade -v /tmp/openwrt-x86-64-combined-squashfs.img.gz" my image will not be updated.
System:
OpenWrt 18.06-SNAPSHOT, r7876-491e839262
Package:
sysupgrade
Problem:
As I mentioned earlier, I was suspicious that gzip wasn't making it to the ramdisk..so I did some digging into how the ramdisk is assembled and found the gzip was indeed missing from the list of packages to copy over in /lib/upgrade/stage2.
Solution:
Here is the relevant function, note how gzip is missing from the list of binaries!
/lib/upgrade/stage2
switch_to_ramfs() {
for binary in
/bin/busybox /bin/ash /bin/sh /bin/mount /bin/umount
pivot_root mount_root reboot sync kill sleep
md5sum hexdump cat zcat bzcat dd tar \
The text was updated successfully, but these errors were encountered: