wok-tiny rev 144

Some SCSI modules did not load (post_install missing)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 01 18:08:08 2019 +0200 (2019-09-01)
parents df0a7ccded6c
children 1aa08ca3ecaf
files base-tiny/receipt module-aha1740/receipt module-cs89x0/receipt module-imm/receipt module-ne/receipt module-ppa/receipt module-sd_mod/receipt module-via-rhine/receipt
line diff
     1.1 --- a/base-tiny/receipt	Sat Aug 31 18:58:32 2019 +0200
     1.2 +++ b/base-tiny/receipt	Sun Sep 01 18:08:08 2019 +0200
     1.3 @@ -85,6 +85,7 @@
     1.4  </table>
     1.5  <input type="checkbox" name="KEEP_MODULES" ${KEEP_MODULES:+checked="checked" }/>
     1.6  Do not remove the modules files after loading modules.
     1.7 +<input type="hidden" name="LOAD_MODULES" value="$(cat $1/modules)" />
     1.8  EOT
     1.9  }
    1.10  
     2.1 --- a/module-aha1740/receipt	Sat Aug 31 18:58:32 2019 +0200
     2.2 +++ b/module-aha1740/receipt	Sun Sep 01 18:08:08 2019 +0200
     2.3 @@ -24,3 +24,10 @@
     2.4  		cp -a $_pkg/$path/$module $fs/$dir
     2.5  	done
     2.6  }
     2.7 +
     2.8 +# Post install/remove commands for Tazpkg.
     2.9 +post_install()
    2.10 +{
    2.11 +	grep -qs "^${PACKAGE#*-}|" $1/modules ||
    2.12 +	echo "${PACKAGE#*-}" >> $1/modules
    2.13 +}
     3.1 --- a/module-cs89x0/receipt	Sat Aug 31 18:58:32 2019 +0200
     3.2 +++ b/module-cs89x0/receipt	Sun Sep 01 18:08:08 2019 +0200
     3.3 @@ -41,13 +41,28 @@
     3.4  <h4>CS89x0 Ethernet driver</h4>
     3.5  <table>
     3.6  <tr>
     3.7 -<td>I/O base</td>
     3.8 -<td><input type="text" name="IOCS89" ${IOCS89:+value="$IOCS89" }
     3.9 -title="Likely 0x300 0x320 0x340 0x360 0x200 0x220 0x240 0x260 0x280 0x2a0 0x2c0 or 0x2e0" /></td>
    3.10 +<td>Base io address</td>
    3.11 +<td><select name="IOCS89">
    3.12 +EOT
    3.13 +for i in 0x300 0x320 0x340 0x360 0x200 0x220 0x240 0x260 0x280 0x2a0 0x2c0 0x2e0; do
    3.14 +	echo -n "<option value=\"$i\""
    3.15 +	[ "$i" = "$IOCS89" ] && echo -n ' selected="selected"'
    3.16 +	echo ">$i</option>"
    3.17 +done
    3.18 +cat <<EOT
    3.19 +</select></td>
    3.20  </tr>
    3.21  <tr>
    3.22  <td>IRQ</td>
    3.23 -<td><input type="text" name="IRQCS89" title "Likely 10 11 12 or 5" ${IRQCS89:+value="$IRQCS89" }/></td>
    3.24 +<td><select name="IRQCS89">
    3.25 +EOT
    3.26 +for i in 10 11 12 5; do
    3.27 +	echo -n "<option value=\"$i\""
    3.28 +	[ "$i" = "$IRQCS89" ] && echo -n ' selected="selected"'
    3.29 +	echo ">$i</option>"
    3.30 +done
    3.31 +cat <<EOT
    3.32 +</select></td>
    3.33  </tr>
    3.34  <tr>
    3.35  <td>Media</td>
    3.36 @@ -63,7 +78,7 @@
    3.37  EOT
    3.38  	for i in $(seq 0 6); do
    3.39  	cat <<EOT
    3.40 -	<option value="$i"$([ "$DEBUGCS89" = "$i" ] && echo ' selected="selected"')>$i</option>
    3.41 +	<option value="$i"$([ "$DEBUGCS89" = "$i" ] && echo ' selected="selected"')>Level $i</option>
    3.42  EOT
    3.43  	done
    3.44  	cat <<EOT
     4.1 --- a/module-imm/receipt	Sat Aug 31 18:58:32 2019 +0200
     4.2 +++ b/module-imm/receipt	Sun Sep 01 18:08:08 2019 +0200
     4.3 @@ -25,3 +25,10 @@
     4.4  		cp -a $_pkg/$path/$module $fs/$dir
     4.5  	done
     4.6  }
     4.7 +
     4.8 +# Post install/remove commands for Tazpkg.
     4.9 +post_install()
    4.10 +{
    4.11 +	grep -qs "^${PACKAGE#*-}|" $1/modules ||
    4.12 +	echo "${PACKAGE#*-}" >> $1/modules
    4.13 +}
     5.1 --- a/module-ne/receipt	Sat Aug 31 18:58:32 2019 +0200
     5.2 +++ b/module-ne/receipt	Sun Sep 01 18:08:08 2019 +0200
     5.3 @@ -45,9 +45,16 @@
     5.4  <h4>NE2000 isa Ethernet driver</h4>
     5.5  <table>
     5.6  <tr>
     5.7 -<td>I/O base (required)</td>
     5.8 -<td><input type="text" name="IONE2K" ${IONE2K:+value="$IONE2K"}
     5.9 -title="Likely 0x300 0x280 0x320 0x340 0x360 or 0x380" /></td>
    5.10 +<td>Base io address</td>
    5.11 +<td><select name="IONE2K">
    5.12 +EOT
    5.13 +for i in 0x300 0x280 0x320 0x340 0x360 0x380; do
    5.14 +	echo -n "<option value=\"$i\""
    5.15 +	[ "$i" = "$IONE2K" ] && echo -n ' selected="selected"'
    5.16 +	echo ">$i</option>"
    5.17 +done
    5.18 +cat <<EOT
    5.19 +</select></td>
    5.20  </tr>
    5.21  <tr>
    5.22  <td>IRQ (optionnal)</td>
     6.1 --- a/module-ppa/receipt	Sat Aug 31 18:58:32 2019 +0200
     6.2 +++ b/module-ppa/receipt	Sun Sep 01 18:08:08 2019 +0200
     6.3 @@ -25,3 +25,10 @@
     6.4  		cp -a $_pkg/$path/$module $fs/$dir
     6.5  	done
     6.6  }
     6.7 +
     6.8 +# Post install/remove commands for Tazpkg.
     6.9 +post_install()
    6.10 +{
    6.11 +	grep -qs "^${PACKAGE#*-}|" $1/modules ||
    6.12 +	echo "${PACKAGE#*-}" >> $1/modules
    6.13 +}
     7.1 --- a/module-sd_mod/receipt	Sat Aug 31 18:58:32 2019 +0200
     7.2 +++ b/module-sd_mod/receipt	Sun Sep 01 18:08:08 2019 +0200
     7.3 @@ -24,3 +24,10 @@
     7.4  		cp -a $_pkg/$path/$module $fs/$dir
     7.5  	done
     7.6  }
     7.7 +
     7.8 +# Post install/remove commands for Tazpkg.
     7.9 +post_install()
    7.10 +{
    7.11 +	grep -qs "^${PACKAGE#*-}|" $1/modules ||
    7.12 +	echo "${PACKAGE#*-}" >> $1/modules
    7.13 +}
     8.1 --- a/module-via-rhine/receipt	Sat Aug 31 18:58:32 2019 +0200
     8.2 +++ b/module-via-rhine/receipt	Sun Sep 01 18:08:08 2019 +0200
     8.3 @@ -56,7 +56,7 @@
     8.4  EOT
     8.5  	for i in $(seq 0 7); do
     8.6  	cat <<EOT
     8.7 -	<option value="$i"$([ "$DBGRHINE" = "$i" ] && echo ' selected="selected"')>$i</option>
     8.8 +	<option value="$i"$([ "$DBGRHINE" = "$i" ] && echo ' selected="selected"')>Level $i</option>
     8.9  EOT
    8.10  	done
    8.11  	cat <<EOT