1
1

Disable Redhat specific file check when cross-compiling

This commit is contained in:
2026-04-20 09:48:24 +02:00
parent 8f4ee87bb6
commit 033b24f794
+2 -1
View File
@@ -30,6 +30,7 @@ START_LXC = S64lxc
CONFIGURE_ARGS += \
ac_cv_header_sys_types_h_makedev=no \
ac_cv_file___etc_redhat_release=no \
--prefix= \
--exec_prefix= \
--enable-doc=no \
@@ -64,7 +65,7 @@ define Package/lxc/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_DIR) $(1)/etc/rc3.d
$(INSTALL_BIN) ./files/lxc.sh $(1)/etc/init.d
ln -s ../init.d/lxc.sh $(1)/etc/rc3.d/$(START_LXC)
ln -s ../init.d/lxc.sh $(1)/etc/rc3.d/$(START_LXC)
endef
$(eval $(call BuildPackage,lxc))