wok-current rev 25676

Add realtek.ko need by r8169.ko, fix post_install efivar
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 07 12:40:12 2024 +0000 (8 months ago)
parents 2eb26d6cdbf5
children ab4c2b7de49b
files efivar/receipt linux-pae/stuff/modules-pae.list linux/stuff/modules.list linux64/stuff/modules64.list
line diff
     1.1 --- a/efivar/receipt	Mon Mar 04 17:41:23 2024 +0000
     1.2 +++ b/efivar/receipt	Thu Mar 07 12:40:12 2024 +0000
     1.3 @@ -43,8 +43,10 @@
     1.4  pre_install()
     1.5  {
     1.6  	# Ensure we remove previous post_install step
     1.7 -	sed -i -e '/inserted/,/END-efivar/!b' -e '/#END-efivar/!d;' \
     1.8 -	-e 'd' $1/etc/init.d/local.sh
     1.9 +	if [ -f $1/etc/init.d/local.sh ]; then
    1.10 +		sed -i -e '/inserted/,/END-efivar/!b' -e '/#END-efivar/!d;' \
    1.11 +		-e 'd' $1/etc/init.d/local.sh
    1.12 +	fi
    1.13  }
    1.14  
    1.15  post_install()
    1.16 @@ -56,6 +58,7 @@
    1.17  	fi
    1.18  	# and after reboot:
    1.19  	# insert mount into /etc/init.d/local.sh
    1.20 +	if [ -f /etc/init.d/local.sh ]; then
    1.21  	grep -qs efivarfs $1/etc/init.d/local.sh ||
    1.22  	echo -e "#inserted by post_install of evifar up to END-efivar:
    1.23  if [ -d /sys/firmware/efi/efivars ]; then
    1.24 @@ -63,4 +66,5 @@
    1.25   mount -t efivarfs none /sys/firmware/efi/efivars
    1.26  fi
    1.27  #END-efivar" >>$1/etc/init.d/local.sh
    1.28 +fi
    1.29  }
     2.1 --- a/linux-pae/stuff/modules-pae.list	Mon Mar 04 17:41:23 2024 +0000
     2.2 +++ b/linux-pae/stuff/modules-pae.list	Thu Mar 07 12:40:12 2024 +0000
     2.3 @@ -115,6 +115,7 @@
     2.4  drivers/net/ethernet/neterion/s2io.ko.xz
     2.5  drivers/net/sb1000.ko.xz
     2.6  drivers/net/mdio.ko.xz
     2.7 +drivers/net/phy/realtek.ko.xz
     2.8  drivers/net/phy/mdio_devres.ko.xz
     2.9  drivers/net/ethernet/sun/niu.ko.xz
    2.10  drivers/net/ifb.ko.xz
     3.1 --- a/linux/stuff/modules.list	Mon Mar 04 17:41:23 2024 +0000
     3.2 +++ b/linux/stuff/modules.list	Thu Mar 07 12:40:12 2024 +0000
     3.3 @@ -115,6 +115,7 @@
     3.4  drivers/net/ethernet/neterion/s2io.ko.xz
     3.5  drivers/net/sb1000.ko.xz
     3.6  drivers/net/mdio.ko.xz
     3.7 +drivers/net/phy/realtek.ko.xz
     3.8  drivers/net/phy/mdio_devres.ko.xz
     3.9  drivers/net/ethernet/sun/niu.ko.xz
    3.10  drivers/net/ifb.ko.xz
     4.1 --- a/linux64/stuff/modules64.list	Mon Mar 04 17:41:23 2024 +0000
     4.2 +++ b/linux64/stuff/modules64.list	Thu Mar 07 12:40:12 2024 +0000
     4.3 @@ -89,6 +89,7 @@
     4.4  drivers/net/ethernet/neterion/s2io.ko.xz
     4.5  drivers/net/sb1000.ko.xz
     4.6  drivers/net/mdio.ko.xz
     4.7 +drivers/net/phy/realtek.ko.xz
     4.8  drivers/net/phy/mdio_devres.ko.xz
     4.9  drivers/net/ethernet/sun/niu.ko.xz
    4.10  drivers/net/ifb.ko.xz