Owut: OpenWrt Upgrade Tool

Yes, there are a lot of caveats that should be warned about when changing rootfs partition size, but I haven't spent the time to dig it out. There are a couple of issues related to this on record, https://github.com/efahl/owut/issues Each platform has weird nuance and there's just no general way I can find to take apart the partitions to determine their type, size, file system and all that. I think I discuss some issue here, too: https://openwrt.org/docs/guide-user/installation/sysupgrade.owut#expanding_root_file_system

Add a --verbose whenever something seems missing, owut can be pretty chatty about things:

$ owut check -v
...
Default package analysis:
  Default                        Provided-by
  dnsmasq                        dnsmasq-full
  kmod-drm-i915                  not installed
  kmod-dwmac-intel               user ignored
  libustream-mbedtls             user ignored
  nftables                       nftables-json
...

If you want that level of output all the time, just bump the value of verbosity to 1 in /etc/config/attendedsysupgrade, like this:

config owut 'owut'
        option verbosity      1
        option rootfs_size   '256'
#       option pre_install   '/etc/owut.d/pre-install.sh'
        option poll_interval  2000
        list   ignored_defaults 'kmod-dwmac-intel'
        list   ignored_defaults 'libustream-mbedtls'
2 Likes