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

backup of the list of packages added by the user (it's not a problem but a request) #32

Open
compact21 opened this issue Feb 5, 2025 · 0 comments

Comments

@compact21
Copy link

compact21 commented Feb 5, 2025

thanks for your great tool

you might consider a simple edit of your /etc/owut/pre-install.sh file (# Example 3)

adding the following action:

You can add the list of packages added to the default installed packages as a backup file in order to create a list of packages included in the saved firmware.

for example on a generic-x86/64 system the current list of packages I find is:

base-files ca-bundle dnsmasq dropbear e2fsprogs firewall4 fstools grub2-bios-setup kmod-button-hotplug kmod-nft-offload libc libgcc libustream-mbedtls logd mkf2fs mtd netifd nftables odhcp6c odhcpd-ipv6only opkg partx-utils ppp ppp-mod-pppoe procd-ujail uci uclient-fetch urandom-seed urngd kmod-amazon-ena kmod-amd-xgbe kmod-bnx2 kmod-dwmac-intel kmod-e1000e kmod-e1000 kmod-forcedeth kmod-fs-vfat kmod-igb kmod-igc kmod-ixgbe kmod-r8169 kmod-tg3 luci
from: https://firmware-selector.openwrt.org/?version=24.10.0-rc7&target=x86%2F64&id=generic

if i add some packages for example:

htop at luci-ssl

I would like to save an automatic backup of the packages added to the firmware

automatically as with the commands you added to the script:

`
sysupgrade --create-backup "/tmp/$backup" || exit 1

scp "/tmp/$backup" "${remote}/${backup}" || exit 1

scp "/tmp/firmware.bin" "${remote}/${firmware}" || exit 1
`

I thank you in advance if you will consider the request.

@compact21 compact21 changed the title backup of the list of packages added by the user backup of the list of packages added by the user (it's not a problem but a request) Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant