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

lime-system: rename /lib/upgrade/keep.d/dropbear to /lib/upgrade/keep.d/dropbear-full #1090

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

a-gave
Copy link
Contributor

@a-gave a-gave commented Feb 29, 2024

Trying to rebuild libremesh master based on openwrt master

I get the following errors:
Collected errors:
 * check_data_file_clashes: Package lime-system wants to install file /home/antennine/openwrt_build/snapshot/openwrt/build_dir/target-x86_64_musl/root-x86/lib/upgrade/keep.d/dropbear
	But that file is already provided by package  * dropbear
 * opkg_install_cmd: Cannot install package babeld-auto-gw-mode.
 * check_data_file_clashes: Package lime-system wants to install file /home/antennine/openwrt_build/snapshot/openwrt/build_dir/target-x86_64_musl/root-x86/lib/upgrade/keep.d/dropbear
	But that file is already provided by package  * dropbear
 * opkg_install_cmd: Cannot install package check-internet.
 * check_data_file_clashes: Package lime-system wants to install file /home/antennine/openwrt_build/snapshot/openwrt/build_dir/target-x86_64_musl/root-x86/lib/upgrade/keep.d/dropbear
	But that file is already provided by package  * dropbear
 * opkg_install_cmd: Cannot install package lime-app.
 * check_data_file_clashes: Package lime-system wants to install file /home/antennine/openwrt_build/snapshot/openwrt/build_dir/target-x86_64_musl/root-x86/lib/upgrade/keep.d/dropbear
	But that file is already provided by package  * dropbear
 * opkg_install_cmd: Cannot install package lime-hwd-ground-routing.
 * check_data_file_clashes: Package lime-system wants to install file /home/antennine/openwrt_build/snapshot/openwrt/build_dir/target-x86_64_musl/root-x86/lib/upgrade/keep.d/dropbear
	But that file is already provided by package  * dropbear
 * opkg_install_cmd: Cannot install package lime-hwd-openwrt-wan.
 * check_data_file_clashes: Package lime-system wants to install file /home/antennine/openwrt_build/snapshot/openwrt/build_dir/target-x86_64_musl/root-x86/lib/upgrade/keep.d/dropbear
	But that file is already provided by package  * dropbear
 * opkg_install_cmd: Cannot install package lime-proto-anygw.
 * check_data_file_clashes: Package lime-system wants to install file /home/antennine/openwrt_build/snapshot/openwrt/build_dir/target-x86_64_musl/root-x86/lib/upgrade/keep.d/dropbear
	But that file is already provided by package  * dropbear
 * opkg_install_cmd: Cannot install package lime-proto-batadv.
 * check_data_file_clashes: Package lime-system wants to install file /home/antennine/openwrt_build/snapshot/openwrt/build_dir/target-x86_64_musl/root-x86/lib/upgrade/keep.d/dropbear
	But that file is already provided by package  * dropbear
 * opkg_install_cmd: Cannot install package lime-system.
 * check_data_file_clashes: Package lime-system wants to install file /home/antennine/openwrt_build/snapshot/openwrt/build_dir/target-x86_64_musl/root-x86/lib/upgrade/keep.d/dropbear
	But that file is already provided by package  * dropbear
 * opkg_install_cmd: Cannot install package shared-state-bat_hosts.
 * check_data_file_clashes: Package lime-system wants to install file /home/antennine/openwrt_build/snapshot/openwrt/build_dir/target-x86_64_musl/root-x86/lib/upgrade/keep.d/dropbear
	But that file is already provided by package  * dropbear
 * opkg_install_cmd: Cannot install package profile-libremesh-suggested-packages.
make[2]: *** [package/Makefile:70: package/install] Error 255
make[2]: Leaving directory '/home/antennine/openwrt_build/snapshot/openwrt'
make[1]: *** [package/Makefile:123: /home/antennine/openwrt_build/snapshot/openwrt/staging_dir/target-x86_64_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/antennine/openwrt_build/snapshot/openwrt'
make: *** [/home/antennine/openwrt_build/snapshot/openwrt/include/toplevel.mk:233: world] Error 2

lime-system now fails to compile trying to add the file /lib/upgrade/keep.d/dropbear

This rename /lib/upgrade/keep.d/dropbear to /lib/upgrade/keep.d/dropbear-full to avoid the conflict with the file added by the package dropbear.

@ilario
Copy link
Member

ilario commented Feb 29, 2024

Oooh, does it happen with OpenWrt 23?
Can you copy and paste here the content of the file provided by Dropbear? I cannot find it online :/

@a-gave
Copy link
Contributor Author

a-gave commented Feb 29, 2024

Oooh, does it happen with OpenWrt 23?

This did not happen with openwrt-23.05.2

Can you copy and paste here the content of the file provided by Dropbear? I cannot find it online :/

Sure, this section conffiles is then copied to /lib/upgrade/keep.d/dropbear: https://github.com/openwrt/openwrt/blob/55c7b2cdaf827a4045320f944d73a168cad6bfb7/package/network/services/dropbear/Makefile#L73:L77

@ilario ilario merged commit 4dc7f98 into libremesh:master Feb 29, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants