Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: Makefile
===================================================================
--- Makefile	(revision 384)
+++ Makefile	(revision 385)
@@ -9,7 +9,12 @@
 COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
 COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
 COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
 COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
 COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
 COMPONENT_TARGETS += $(HARDWARE_POIN2)
 COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
 COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
 COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
 COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
 COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
 
 
@@ -125,6 +131,10 @@
 extra_configure_switches += --infodir=/usr/share/info
 extra_configure_switches += --mandir=/usr/share/man
 extra_configure_switches += --disable-dependency-tracking
+
+extra_configure_switches += --sysconfdir=/etc
+extra_configure_switches += --localstatedir=/var
+
 extra_configure_switches += --enable-ipv4
 extra_configure_switches += --enable-ipv6
 extra_configure_switches += --enable-devel
@@ -166,6 +176,7 @@
 $(install_target): $(build_target)
 	@mkdir -p $(IPTABLES_PKG)
 	@cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+	@mv $(IPTABLES_PKG)/etc/ethertypes $(IPTABLES_PKG)/etc/ethertypes.new
 	@ln -sf ../sbin/xtables-legacy-multi $(IPTABLES_PKG)/usr/bin/iptables-xml
 	# ======= Install Documentation =======
 	@( cd $(IPTABLES_PKG)/usr/share/man/man3 ; \
Index: iptables-pkg-install.sh
===================================================================
--- iptables-pkg-install.sh	(revision 384)
+++ iptables-pkg-install.sh	(revision 385)
@@ -1,5 +1,19 @@
 #!/bin/sh
 
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
 # arg 1:  the new package version
 pre_install() {
   /bin/true
@@ -7,7 +21,7 @@
 
 # arg 1:  the new package version
 post_install() {
-  /bin/true
+  install_file etc/ethertypes.new
 }
 
 # arg 1:  the new package version
Index: .
===================================================================
--- .	(revision 384)
+++ .	(revision 385)

Property changes on: .
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
 .rk328x-glibc
 .rk33xx-glibc
 .rk339x-glibc
+.rk358x-glibc
 .s8xx-glibc
 .s9xx-glibc
 .x86_64-glibc