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