- added script for checking parmlineparameters
[opensuse:installation-images.git] / data / initrd / initrd_base.file_list
1 d bin dev etc mnt proc tmp
2 d var/run var/adm/mount var/lib/YaST var/spool var/lock var/log var/log/YaST2 var/tmp var/lib/dhcpcd
3
4 d var/X11R6/xkb/compiled var/X11R6/bin var/X11R6/app-defaults etc/X11 var/lib/xkb
5 s /usr/X11R6/lib/X11 var/X11R6/lib
6
7 d modules
8 d dev/usb
9 d mounts
10
11 t var/run/utmp
12
13 c 1777 0 0 tmp
14
15 aaa_base:
16   /etc/nsswitch.conf
17
18 if arch eq 's390' || arch eq 's390x'
19
20 #  include initrd_s390.file_list
21 ###################################################################
22   # ???
23
24   # In the ramdisk we need everything to set up the network.  We
25   # additionaly want everything to initialize a local dasd, to fetch
26   # the yast image via ftp and to install from that dasd.
27
28   # there is no need to log in into this ramdisk, because you either
29   # use the HMC or VM, which are both secured by other means.
30
31   aaa_base: prein,postin
32   e prein
33     # wie geht das jetzt??
34     #/etc/init.d/network
35     #/etc/init.d/route
36     # for ssh key generation?
37     /bin/fillup
38     /etc/init.d/random
39     /etc/ld.so.conf
40     /etc/rc.status
41     /etc/{modules.conf,insserv.conf}
42     /root
43     /sbin/get_kernel_version
44     /sbin/insserv
45     /var/adm/fillup-templates
46   e postin
47   r /var/adm/fillup-templates
48   r /root/.exrc
49   r /root/.xinitrc
50   if suse_release >= 8.1
51   filesystem:
52   else
53   aaa_dir:
54   endif
55     /
56   glibc:
57     /etc/nscd.conf
58     /etc/rpc
59     /lib/ld.so.1
60     /lib/ld[-.]*.so
61     /lib/libc.so.*
62     /lib/libcrypt.so.*
63     /lib/libdl.so.*
64     #/lib/libm.so.*
65     #/lib/libmemusage.so
66     /lib/libnsl.so.*
67     /lib/libnss_compat.so.*
68     /lib/libnss_dns.so.*
69     /lib/libnss_files.so.*
70     /lib/libnss_hesiod.so.*
71     /lib/libnss_nis.so.*
72     /lib/libnss_nisplus.so.*
73     #/lib/libpcprofile.so
74     /lib/libpthread.so.*
75     /lib/libresolv.so.*
76     /lib/librt.so.*
77     #/lib/libthread_db.so.*
78     /lib/libutil.so.*
79   sed:
80     /bin/sed
81   tar:
82     /bin/tar
83   #base:
84     # /usr/sbin/freeramdisk ?
85     # /usr/sbin/ksymoops ?
86   bash:
87     /bin/bash
88     /bin/sh
89   s390-tools:
90     # are these really needed before the installation system is mounted?
91     /sbin/fdasd
92     /sbin/dasdfmt
93     /lib/libvtoc.so*
94   libxcrypt:
95     /lib/libxcrypt.so*
96   cracklib:
97     /usr/lib/libcrack.so*
98   gdbm:
99     /usr/lib/libgdbm.so*
100   attr:
101     /lib/libattr.so.1
102     /lib/libattr.so.1.0.0
103   acl:
104     /lib/libacl.so.1
105     /lib/libacl.so.1.0.0
106   popt:
107     /usr/lib/libpopt.so
108     /usr/lib/libpopt.so.0
109     /usr/lib/libpopt.so.0.0.0
110   samba-classic-client:
111     m /usr/bin/smbmount /bin/smbmount
112     m /usr/bin/smbmnt   /bin/smbmnt
113     # to make mount(8) -t smbfs work:
114     l /bin/smbmount  /sbin/mount.smbfs
115     # /lib/libnss_wins.so?
116   cups-libs:
117     /usr/lib/libcups.so.*
118   installation-kernel-rdripl:
119     /lib/modules
120   <kernel_rpm>:
121     m /boot/System.map-* /System.map
122   e2fsprogs:
123     /lib/libcom_err.so.*
124     /lib/libcom_err.so.*
125     /lib/libe2p.so.*
126     /lib/libe2p.so.2.*
127     /lib/libext2fs.so.*
128     /lib/libext2fs.so.*
129     /lib/libss.so.*
130     /lib/libss.so.2.*
131     /lib/libuuid.so.*
132     /lib/libuuid.so.1.*
133     /sbin/badblocks
134     /sbin/debugfs
135     /sbin/dumpe2fs
136     /sbin/e2fsck
137     /sbin/e2label
138     /sbin/fsck
139     /sbin/fsck.ext2
140     /sbin/fsck.ext3
141     /sbin/mke2fs
142     /sbin/mkfs.ext2
143     /sbin/resize2fs
144     /sbin/tune2fs
145     /usr/bin/chattr
146     /usr/bin/lsattr
147     /usr/bin/uuidgen
148   fileutils:
149     /bin/chgrp
150     /bin/chmod
151     /bin/chown
152     /bin/cp
153     /bin/dd
154     /bin/df
155     /bin/ln
156     /bin/ls
157     /bin/mkdir
158     /bin/mknod
159     /bin/mv
160     /bin/rm
161     /bin/rmdir
162     /bin/sync
163     /bin/touch
164   modutils:
165     /sbin/insmod
166     /sbin/rmmod
167     /sbin/lsmod
168     /sbin/modprobe
169     /sbin/ksyms
170     /sbin/kallsyms
171   net-tools:
172     #/bin/dnsdomainname
173     #/bin/domainname
174     /bin/hostname
175     #/bin/netstat
176     #/sbin/arp
177     /sbin/ifconfig
178     #/sbin/ipmaddr
179     #/sbin/iptunnel
180     #/sbin/mii-tool
181     /sbin/route
182   nfs-utils:
183     #/etc/init.d/nfsserver
184     /sbin/rpc.lockd
185     /sbin/rpc.statd
186     #/usr/sbin/exportfs
187     #/usr/sbin/nfsstat
188     #/usr/sbin/nhfsgraph
189     #/usr/sbin/nhfsnums
190     #/usr/sbin/nhfsrun
191     #/usr/sbin/nhfsstone
192     #/usr/sbin/rcnfsserver
193     #/usr/sbin/rpc.mountd
194     #/usr/sbin/rpc.nfsd
195     #/usr/sbin/showmount
196     #/usr/share/doc/packages/nfs-utils
197     #/var/adm/fillup-templates/rc.config.knfsd
198     #/var/lib/nfs/etab
199     #/var/lib/nfs/rmtab
200     #/var/lib/nfs/sm
201     #/var/lib/nfs/sm.bak
202     #/var/lib/nfs/state
203     #/var/lib/nfs/xtab
204
205   netcfg:
206     #/etc/diphosts
207     #/etc/exports
208     #/etc/ftpusers
209     #/etc/host.conf
210     #/etc/hosts
211     #/etc/hosts.allow
212     #/etc/hosts.deny
213     #/etc/hosts.equiv
214     #/etc/hosts.lpd
215     #/etc/inetd.conf
216     #/etc/networks
217     /etc/protocols
218     #/etc/services
219     #/var/adm/setup
220     #/var/adm/setup/setup.netconfig
221   telnet-server:
222     /usr/sbin/in.telnetd
223   grep:
224     /bin/grep
225   ed:
226     /bin/ed
227   pam:
228     /etc
229     /lib
230     /sbin
231   pam-modules:
232     # which ones of these are _really_ needed?
233     /etc
234     /lib
235     /sbin
236   zlib:
237     /lib/libz.so*
238   shadow:
239     /usr/sbin/chpasswd
240     /bin/login
241     /etc/login.defs
242     /etc/pam.d/login
243     /usr/sbin/groupadd
244     /usr/sbin/useradd
245   iputils:
246     /bin/ping
247     /bin/ping6
248     /usr/sbin/tracepath
249     /usr/sbin/tracepath6
250   portmap:
251     /etc/init.d/portmap
252     /sbin/portmap
253     #/sbin/rcportmap
254     #DEBUG/usr/sbin/pmap_dump
255     #DEBUG/usr/sbin/pmap_set
256   readline:
257     /lib
258   tcpd:
259     /usr/sbin/tcpd
260   textutils:
261     /bin/cat
262     /bin/sort
263     /usr/bin/wc
264     /usr/bin/cut
265     /usr/bin/head
266     /usr/bin/tail
267   sh-utils:
268     /bin/uname
269     /bin/sleep
270     /bin/date
271     /usr/bin/expr
272     /usr/bin/chroot
273   util-linux:
274     /bin
275     /sbin
276     /usr/bin/wall
277     /sbin/pivot_root
278     /usr/sbin/freeramdisk
279     #/usr/sbin
280   ncurses:
281     /lib/libncurses.so.*
282   sysvinit:
283     m /sbin/halt      /sbin/halt.bin
284     m /sbin/reboot    /sbin/reboot.bin
285     m /sbin/shutdown  /sbin/shutdown.bin
286     /sbin/startproc
287     /sbin/checkproc
288     /sbin/killproc
289   inetd:
290     /usr/sbin/inetd
291     /etc/init.d/inetd
292   openssl:
293     /usr/lib/libcrypto.so.*
294     /usr/lib/libssl.so.*
295   openssh: prein
296     /etc/ssh
297     /etc/ssh/moduli
298     /usr/bin/scp
299     /usr/bin/ssh-keygen
300     /etc/init.d/sshd
301     /etc/pam.d/sshd
302     /etc/ssh/sshd_config
303     # ??? do we need more ssh preconfiguration?
304     t /etc/sysconfig/ssh
305     /etc/ssh/ssh_config
306     /usr/bin/ssh
307     /usr/sbin/sshd
308     /usr/lib/ssh
309     /var/adm/fillup-templates/sysconfig.ssh
310     /var/empty
311     /var/lib/sshd
312   E prein
313
314   heimdal-lib:
315     /etc
316     /usr/lib*/libasn1.so.*
317     /usr/lib*/libcom_err.so.*
318     /usr/lib*/libkrb5.so.*
319     /usr/lib*/libroken.so.*
320
321   db:
322     /usr/lib*/libdb-4*.so  
323
324   syslogd:
325     /etc/init.d/syslog
326     /sbin/klogd
327     /sbin/syslogd
328     # /var/adm/fillup-templates/rc.config.syslogd
329   linuxrc:
330     m /usr/sbin/linuxrc /bin/linuxrc
331
332   strace:
333     /usr/bin/strace
334
335   x s390/bin/netsetup    /bin/netsetup
336   x s390/check           /check
337   x s390/etc/motd        /etc/motd
338   x s390/etc/syslog.conf /etc/syslog.conf
339   x s390/etc/rc.config   /etc/rc.config
340   x s390/etc/exports     /etc/exports
341   x s390/etc/services    /etc/services
342   x s390/etc/inetd.conf  /etc/inetd.conf
343   x s390/etc/inittab     /etc/inittab
344   x s390/etc/profile     /etc/profile
345   x s390/inst_source     /inst_source
346   x s390/linuxrc         /linuxrc
347   x s390/linuxrc.finish  /linuxrc.finish
348   x s390/linuxrc.init    /linuxrc.init
349   x s390/sbin/halt       /sbin/halt
350   x s390/sbin/nodns      /sbin/nodns
351   x s390/sbin/start_yast /sbin/yast
352   x s390/sbin/realchroot /sbin/realchroot
353
354   c 0755 0 0 /linuxrc
355   c 0755 0 0 /inst_source
356   c 0755 0 0 /bin/netsetup
357   c 0755 0 0 /sbin/halt
358   c 0755 0 0 /sbin/nodns
359   c 0755 0 0 /sbin/yast
360   c 0755 0 0 /sbin/realchroot
361
362   #
363   c 0755 0 0 /etc/profile
364
365   r /sbin/insserv
366   r /bin/fillup
367
368   t /var/log/{faillog,lastlog,messages}
369
370   modutils:
371     /sbin/depmod
372 #   E /sbin/depmod -a -F /System.map
373   E /sbin/depmod -a -F /System.map <kernel_ver>
374   r /sbin/depmod
375
376 ###################################################################
377 else # arch is not s390 or s390x
378
379   if linuxrc
380     if linuxrc =~ m#^[^/]#
381       linuxrc:
382         m /usr/sbin/<linuxrc> /linuxrc
383     else
384       X <linuxrc> /linuxrc
385     endif
386   else
387     linuxrc:
388       if initrd eq 'small'
389         m /usr/sbin/linuxrc_tiny /linuxrc
390       else
391         m /usr/sbin/linuxrc /linuxrc
392       endif
393   endif
394
395   x etc/syslog.conf etc
396
397
398 endif
399
400 x etc/host.conf etc
401
402 devs:
403   if arch eq 'ppc' || arch eq 'ppc64'
404     m /usr/share/doc/packages/devs/makedevs.floppy /
405   else
406     if arch eq 's390' || arch eq 's390x'
407         /dev/dasd*
408         /dev/pts
409     endif 
410     m /usr/share/doc/packages/devs/makedevs.floppy /
411   endif
412
413 c 0755 0 0 makedevs.floppy
414
415 if arch ne 's390' && arch ne 's390x' && arch ne 'ppc' && arch ne 'ppc64'
416
417 kbd:
418
419   d kbd/consoletrans
420 if arch ne 'sparc' && arch ne 'sparc64'
421   m /usr/share/kbd/consoletrans/koi2alt kbd/consoletrans
422 endif
423   m /usr/share/kbd/consoletrans/trivial kbd/consoletrans
424
425   d kbd/consolefonts
426   g /usr/share/kbd/consolefonts/lat1-16.psfu.gz kbd/consolefonts/lat1-16.psfu
427 if arch ne 'sparc' && arch ne 'sparc64'
428   g /usr/share/kbd/consolefonts/lat2-16.psfu.gz kbd/consolefonts/lat2-16.psfu
429   g /usr/share/kbd/consolefonts/iso07u-16.psfu.gz kbd/consolefonts/lat7-16.psfu
430   g /usr/share/kbd/consolefonts/Cyr_a8x16.psfu.gz kbd/consolefonts/Cyr_a8x16.psfu
431
432   d kbd/keymaps/include
433   m usr/share/kbd/keymaps/include/compose.latin1 kbd/keymaps/include
434 endif
435
436 if arch eq 'ia32' || arch eq 'ppc' || arch eq 'ia64' || arch eq 'mips'
437   if !fewkeymaps
438     g /usr/share/kbd/keymaps/i386/qwerty/Pl02.map.gz kbd/keymaps/Pl02.map
439     g /usr/share/kbd/keymaps/i386/qwerty/br-abnt2.map.gz kbd/keymaps/br-abnt2.map
440     g /usr/share/kbd/keymaps/i386/qwertz/cz-us-qwertz.map.gz kbd/keymaps/cz-us-qwertz.map
441     g /usr/share/kbd/keymaps/i386/qwerty/dk.map.gz kbd/keymaps/dk.map
442     g /usr/share/kbd/keymaps/i386/qwerty/es.map.gz kbd/keymaps/es.map
443     g /usr/share/kbd/keymaps/i386/qwerty/fi.map.gz kbd/keymaps/fi.map
444     g /usr/share/kbd/keymaps/i386/qwerty/gr.map.gz kbd/keymaps/gr.map
445     g /usr/share/kbd/keymaps/i386/qwertz/hu.map.gz kbd/keymaps/hu.map
446     g /usr/share/kbd/keymaps/i386/qwerty/it.map.gz kbd/keymaps/it.map
447     g /usr/share/kbd/keymaps/i386/qwerty/nl.map.gz kbd/keymaps/nl.map
448     g /usr/share/kbd/keymaps/i386/qwerty/no-latin1.map.gz kbd/keymaps/no-latin1.map
449     g /usr/share/kbd/keymaps/i386/qwerty/pt-latin1.map.gz kbd/keymaps/pt-latin1.map
450     g /usr/share/kbd/keymaps/i386/qwerty/ru1.map.gz kbd/keymaps/ru1.map
451     g /usr/share/kbd/keymaps/i386/qwerty/sk-qwerty.map.gz kbd/keymaps/sk-qwerty.map
452     g /usr/share/kbd/keymaps/i386/qwerty/uk.map.gz kbd/keymaps/uk.map
453   endif
454
455   g /usr/share/kbd/keymaps/i386/qwerty/us.map.gz kbd/keymaps/us.map
456   g /usr/share/kbd/keymaps/i386/qwertz/de-lat1-nd.map.gz kbd/keymaps/de-lat1-nd.map
457   g /usr/share/kbd/keymaps/i386/qwertz/de-latin1.map.gz kbd/keymaps/de-latin1.map
458   g /usr/share/kbd/keymaps/i386/azerty/fr-latin1.map.gz kbd/keymaps/fr-latin1.map
459
460   m /usr/share/kbd/keymaps/i386/include/{linux-{keys-{bare,extd},with-modeshift-altgr}}.inc kbd/keymaps/include
461   m /usr/share/kbd/keymaps/i386/include/linux-with-alt-and-altgr.inc kbd/keymaps/include
462   m /usr/share/kbd/keymaps/i386/include/qwerty-layout.inc kbd/keymaps/include
463   m /usr/share/kbd/keymaps/i386/include/qwertz-layout.inc kbd/keymaps/include
464   m /usr/share/kbd/keymaps/i386/include/azerty-layout.inc kbd/keymaps/include
465   g /usr/share/kbd/keymaps/i386/include/euro1.map.gz kbd/keymaps/include/euro1.map
466   g /usr/share/kbd/keymaps/i386/include/euro2.map.gz kbd/keymaps/include/euro2.map
467 endif
468
469 if arch eq 'ppc'
470   m /usr/share/kbd/keymaps/mac/include/mac-{azerty-layout,qwerty-layout,linux-keys-bare}.inc kbd/keymaps/include
471   g /usr/share/kbd/keymaps/mac/include/mac-euro.map.gz kbd/keymaps/include/mac-euro.map
472   g /usr/share/kbd/keymaps/mac/all/mac-be.map.gz kbd/keymaps/mac-be.map
473   g /usr/share/kbd/keymaps/mac/all/mac-de-latin1-nodeadkeys.map.gz kbd/keymaps/mac-de-latin1-nodeadkeys.map
474   g /usr/share/kbd/keymaps/mac/all/mac-de-latin1.map.gz kbd/keymaps/mac-de-latin1.map
475   g /usr/share/kbd/keymaps/mac/all/mac-de_CH.map.gz kbd/keymaps/mac-de_CH.map
476   g /usr/share/kbd/keymaps/mac/all/mac-dk-latin1.map.gz kbd/keymaps/mac-dk-latin1.map
477   g /usr/share/kbd/keymaps/mac/all/mac-es.map.gz kbd/keymaps/mac-es.map
478   g /usr/share/kbd/keymaps/mac/all/mac-fi-latin1.map.gz kbd/keymaps/mac-fi-latin1.map
479   g /usr/share/kbd/keymaps/mac/all/mac-fr.map.gz kbd/keymaps/mac-fr.map
480   g /usr/share/kbd/keymaps/mac/all/mac-it.map.gz kbd/keymaps/mac-it.map
481   g /usr/share/kbd/keymaps/mac/all/mac-se.map.gz kbd/keymaps/mac-se.map
482   g /usr/share/kbd/keymaps/mac/all/mac-uk.map.gz kbd/keymaps/mac-uk.map
483   g /usr/share/kbd/keymaps/mac/all/mac-us.map.gz kbd/keymaps/mac-us.map
484 endif
485
486 if arch eq 'sparc' || arch eq 'sparc64'
487   d kbd/keymaps
488   g /usr/share/kbd/keymaps/sun/sunkeymap.map.gz kbd/keymaps/sunkeymap.map
489   g /usr/share/kbd/keymaps/sun/sunt4-es.map.gz kbd/keymaps/sunt4-es.map
490   g /usr/share/kbd/keymaps/sun/sunt4-fi-latin1.map.gz kbd/keymaps/sunt4-fi-latin1.map
491   g /usr/share/kbd/keymaps/sun/sunt4-no-latin1.map.gz kbd/keymaps/sunt4-no-latin1.map
492   g /usr/share/kbd/keymaps/sun/sunt5-de-latin1.map.gz kbd/keymaps/sunt5-de-latin1.map
493   g /usr/share/kbd/keymaps/sun/sunt5-es.map.gz kbd/keymaps/sunt5-es.map
494   g /usr/share/kbd/keymaps/sun/sunt5-fi-latin1.map.gz kbd/keymaps/sunt5-fi-latin1.map
495   g /usr/share/kbd/keymaps/sun/sunt5-fr-latin1.map.gz kbd/keymaps/sunt5-fr-latin1.map
496   g /usr/share/kbd/keymaps/sun/sunt5-ru.map.gz kbd/keymaps/sunt5-ru.map
497   g /usr/share/kbd/keymaps/sun/sunt5-uk.map.gz kbd/keymaps/sunt5-uk.map
498 endif
499
500 endif # not on s390/ppc
501
502 if (arch eq 'alpha' || arch eq 'ia32') && !nopcmcia
503   pcmcia:
504   d etc/pcmcia/cis
505   a etc/pcmcia/cis etc/pcmcia
506   t etc/pcmcia/fixed
507   c 0755 0 0 etc/pcmcia/fixed
508   l etc/pcmcia/fixed  etc/pcmcia/scsi
509   l etc/pcmcia/fixed  etc/pcmcia/ide
510   l etc/pcmcia/fixed  etc/pcmcia/network
511
512     /etc/pcmcia/config
513     /etc/pcmcia/config.opts
514   x etc/pcmcia/fixed etc/pcmcia
515 endif
516
517 if with_smb
518
519   d etc/samba
520   e echo "; just to make smbmount happy" >etc/samba/smb.conf
521
522   if arch eq 'ia32' || arch eq 'x86_64'
523
524     smbmount-diet:
525       m /usr/bin/smbmount /bin/smbmount
526
527   else
528
529     d bin lib
530
531     samba-client:
532       m /usr/bin/smbmount /bin/smbmount
533
534     glibc:
535       /lib*/ld-linux*.so.2
536       /lib*/ld-2.*.so
537       /lib*/libc.so.6*
538       /lib*/{libcrypt.so.1*,libdl.so.2*,libnsl.so.1*}
539
540     pam:
541       /lib*/libpam.so.*
542
543     cups-libs:
544       m /usr/lib*/libcups.so.* /lib
545
546     openssl:
547       m /usr/lib*/libcrypto.so.* /lib
548       m /usr/lib*/libssl.so.* /lib
549
550   endif
551
552 endif
553
554 if with_gdb
555
556   gdb:
557     m /usr/bin/gdb /bin/gdb
558
559   glibc:
560     /lib*/ld-linux*.so.2
561     /lib*/ld-2.*.so
562     /lib*/libc.so.6*
563     /lib*/{libcrypt.so.1*,libdl.so.2*,libnsl.so.1*}
564     /lib*/libm.so.6*
565
566   readline:
567     /lib*/libreadline.so.4*
568     /lib*/libhistory.so.4*
569
570   ncurses:
571     /lib*/libncurses.so.5*
572
573   bash:
574     /bin/bash
575     /bin/sh
576
577   if with_gdb == 2
578
579     linuxrc:
580       m /usr/sbin/linuxrc /bin/linuxrc
581
582       e echo run >zap
583       e echo -e "#! /bin/sh\ngdb --command /zap /bin/linuxrc" >linuxrc
584
585   endif
586
587 endif
588
589 if lang
590   e echo "Language:     <lang>" >>linuxrc.config
591 endif
592
593 if demo
594   e echo "Demo:         1" >>linuxrc.config
595 endif
596
597   # r /usr/sbin/groupadd
598   # r /usr/sbin/useradd