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