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