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