bootdisk: ui-functions (HEAD) ui-main (HEAD) ui-makeform (HEAD)
malekith
malekith w pld.org.pl
Pon, 17 Lut 2003, 23:22:42 CET
Module name: bootdisk
Changes by: malekith 03/02/17 23:22:39
Modified files:
ui-functions ui-main ui-makeform
Log message:
- source_additiona, #1
Index: ui-functions
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/ui/ui-functions,v
diff -d -u -r1.29 -r1.30
--- ui-functions 23 Aug 2002 12:44:49 -0000 1.29
+++ ui-functions 17 Feb 2003 22:22:39 -0000 1.30
@@ -140,10 +140,13 @@
# server name with optional protocol for net, ftp:// is the default.
# source_dir: exact directory where installation files
# (RPMS and installer directory) reside
+# source_additional: space separated, additional sources for package
+# installation. You need to specify http://, ftp:// or file://.
source="$source"
source_device="$source_device"
source_filesystem="$source_filesystem"
source_dir="$source_dir"
+source_additional="$source_additional"
# net_device: example: eth0
# net_device_module: examples: ne2k-pci, auto
Index: ui-main
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/ui/ui-main,v
diff -d -u -r1.84 -r1.85
--- ui-main 30 Oct 2002 17:54:30 -0000 1.84
+++ ui-main 17 Feb 2003 22:22:39 -0000 1.85
@@ -530,6 +530,23 @@
echo 'res=1'
}
+ui-source_additional () {
+dml <<EOF
+ <br>$(nls "Additional sources of RPMS, space separated,")
+ <br>$(nls "http://, ftp:// and file:// URIs are supported.")
+ <br>
+ <meta title="$(nls "Additional sources")">
+ <menu id=res_menu res=1>
+ <item id=ui_custom>${custom_text}
+ <item id="ftp://ftp.pld.org.pl/people/jack/Ra+2.4.19/i586">Ra+2.4.19/i586
+ <item id="ftp://ftp.pld.org.pl/people/jack/Ra+2.4.19/i686">Ra+2.4.19/i686
+ <item id="http://ftp.pld.org.pl/people/jack/Ra+2.4.19/i586">Ra+2.4.19/i586, http
+ <item id="http://ftp.pld.org.pl/people/jack/Ra+2.4.19/i686">Ra+2.4.19/i686, http
+ </menu>
+ $@
+EOF
+}
+
ui-pkgs_install_langs () {
dml <<EOF
<br>$(nls "Install languages:")
Index: ui-makeform
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/ui/ui-makeform,v
diff -d -u -r1.32 -r1.33
--- ui-makeform 29 Jul 2002 11:17:21 -0000 1.32
+++ ui-makeform 17 Feb 2003 22:22:39 -0000 1.33
@@ -96,6 +96,8 @@
;;
esac
+item source_additional "$(nls "Additional sources of RPMS")"
+
separator "$(nls "Other options")"
item scsi_hostadapters "$(nls "SCSI adapters, if you have any")"
item pcmcia_controller "$(nls "PCMCIA controller, if you have any")"
Więcej informacji o liście dyskusyjnej pld-installer