diff options
author | Stefan Lippers-Hollmann <s.l-h@gmx.de> | 2018-01-18 22:27:08 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-02-13 12:45:00 +0100 |
commit | 42fe7b3bbe682fc7902580226986abe10ffee8ea (patch) | |
tree | ed13dc294dcbb49a80e6048b1049091f08a71198 /target/linux/xburst | |
parent | b36cf0be302b6fc86754be56f478d1d3354c6cfb (diff) | |
download | upstream-42fe7b3bbe682fc7902580226986abe10ffee8ea.tar.gz upstream-42fe7b3bbe682fc7902580226986abe10ffee8ea.tar.bz2 upstream-42fe7b3bbe682fc7902580226986abe10ffee8ea.zip |
ipq806x: request the first free loop device dynamically for the nbg6817 sysupgrade
Instead of hardcoding /dev/loop0, it's safer to query for the first
free loop device and assign that dynamically. While /dev/loop0 is a
reasonable assumption immediately following "losetup --detach-all",
detaching the mounted overlay is no longer strictly necessary once
dual-boot support has been added for the nbg6817.
Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Diffstat (limited to 'target/linux/xburst')
0 files changed, 0 insertions, 0 deletions