Revision 2744, 64.1 KB checked in by daisuke, 14 years ago (diff) |
---|
diff -ruN rinse-1.7.orig/bin/rinse rinse-1.7/bin/rinse
old | new | |
---|---|---|
868 | 868 | $arch = 'x86_64'; |
869 | 869 | } |
870 | 870 | |
871 | # 32bit packages come in a variety of specific formats now | |
872 | if ( $CONFIG{ 'arch' } eq 'i386' ) | |
873 | { | |
874 | $arch = 'i386|i586|i686'; | |
875 | } | |
876 | ||
871 | 877 | if ( $#remainder_parts != 2 || |
872 | 878 | $remainder_parts[0] ne '' || |
873 | 879 | $remainder_parts[1] !~ /^[\d\w][\d\w.+]*$/ || |
diff -ruN rinse-1.7.orig/etc/fedora-10.packages rinse-1.7/etc/fedora-10.packages
old | new | |
---|---|---|
1 | audit-libs | |
2 | basesystem | |
3 | bash | |
4 | bzip2-libs | |
5 | chkconfig | |
6 | compat-db45 | |
7 | ConsoleKit-libs | |
8 | coreutils | |
9 | cpio | |
10 | cracklib | |
11 | cracklib-dicts | |
12 | crontabs | |
13 | cyrus-sasl-lib | |
14 | db4 | |
15 | dbus | |
16 | dbus-libs | |
17 | device-mapper | |
18 | device-mapper-libs | |
19 | dhclient | |
20 | dirmngr | |
21 | e2fsprogs | |
22 | e2fsprogs-libs | |
23 | elfutils-libelf | |
24 | ethtool | |
25 | expat | |
26 | fedora-release | |
27 | fedora-release-notes | |
28 | file | |
29 | file-libs | |
30 | filesystem | |
31 | findutils | |
32 | gamin | |
33 | gawk | |
34 | gdbm | |
35 | glib2 | |
36 | glibc | |
37 | glibc-common | |
38 | gnupg2 | |
39 | gpgme | |
40 | grep | |
41 | info | |
42 | initscripts | |
43 | iproute | |
44 | iputils | |
45 | keyutils-libs | |
46 | krb5-libs | |
47 | libacl | |
48 | libattr | |
49 | libcap | |
50 | libcurl | |
51 | libgcc | |
52 | libgcrypt | |
53 | libgpg-error | |
54 | libidn | |
55 | libksba | |
56 | libselinux | |
57 | libsepol | |
58 | libstdc++ | |
59 | libusb | |
60 | libvolume_id | |
61 | libxml2 | |
62 | linux-atm-libs | |
63 | logrotate | |
64 | lua | |
65 | MAKEDEV | |
66 | mingetty | |
67 | module-init-tools | |
68 | ncurses | |
69 | ncurses-base | |
70 | ncurses-libs | |
71 | net-tools | |
72 | nspr | |
73 | nss | |
74 | openldap | |
75 | openssl | |
76 | pam | |
77 | passwd | |
78 | pcre | |
79 | pinentry | |
80 | popt | |
81 | procps | |
82 | psmisc | |
83 | pth | |
84 | pygpgme | |
85 | python | |
86 | python-iniparse | |
87 | python-libs | |
88 | python-urlgrabber | |
89 | readline | |
90 | rpm | |
91 | rpm-libs | |
92 | rpm-python | |
93 | rsyslog | |
94 | sed | |
95 | setup | |
96 | shadow-utils | |
97 | sqlite | |
98 | sysvinit-tools | |
99 | tzdata | |
100 | udev | |
101 | upstart | |
102 | util-linux-ng | |
103 | vim-minimal | |
104 | yum | |
105 | yum-metadata-parser | |
106 | zlib |
diff -ruN rinse-1.7.orig/etc/fedora-11.packages rinse-1.7/etc/fedora-11.packages
old | new | |
---|---|---|
1 | audit-libs | |
2 | basesystem | |
3 | bash | |
4 | bzip2-libs | |
5 | chkconfig | |
6 | compat-db45 | |
7 | ConsoleKit-libs | |
8 | coreutils | |
9 | cpio | |
10 | cracklib | |
11 | cracklib-dicts | |
12 | crontabs | |
13 | cyrus-sasl-lib | |
14 | db4 | |
15 | dbus | |
16 | dbus-libs | |
17 | device-mapper | |
18 | device-mapper-libs | |
19 | dhclient | |
20 | dirmngr | |
21 | e2fsprogs | |
22 | e2fsprogs-libs | |
23 | elfutils-libelf | |
24 | ethtool | |
25 | expat | |
26 | fedora-release | |
27 | fedora-release-notes | |
28 | file | |
29 | file-libs | |
30 | filesystem | |
31 | findutils | |
32 | gamin | |
33 | gawk | |
34 | gdbm | |
35 | glib2 | |
36 | glibc | |
37 | glibc-common | |
38 | gnupg2 | |
39 | gpgme | |
40 | grep | |
41 | info | |
42 | initscripts | |
43 | iproute | |
44 | iputils | |
45 | keyutils-libs | |
46 | krb5-libs | |
47 | libacl | |
48 | libattr | |
49 | libcap | |
50 | libcurl | |
51 | libgcc | |
52 | libgcrypt | |
53 | libgpg-error | |
54 | libidn | |
55 | libksba | |
56 | libselinux | |
57 | libsepol | |
58 | libstdc++ | |
59 | libusb | |
60 | libvolume_id | |
61 | libxml2 | |
62 | linux-atm-libs | |
63 | logrotate | |
64 | lua | |
65 | MAKEDEV | |
66 | mingetty | |
67 | module-init-tools | |
68 | ncurses | |
69 | ncurses-base | |
70 | ncurses-libs | |
71 | net-tools | |
72 | nspr | |
73 | nss | |
74 | openldap | |
75 | openssl | |
76 | pam | |
77 | passwd | |
78 | pcre | |
79 | pinentry | |
80 | popt | |
81 | procps | |
82 | psmisc | |
83 | pth | |
84 | pygpgme | |
85 | python | |
86 | python-iniparse | |
87 | python-libs | |
88 | python-urlgrabber | |
89 | readline | |
90 | rpm | |
91 | rpm-libs | |
92 | rpm-python | |
93 | rsyslog | |
94 | sed | |
95 | setup | |
96 | shadow-utils | |
97 | sqlite | |
98 | sysvinit-tools | |
99 | tzdata | |
100 | udev | |
101 | upstart | |
102 | util-linux-ng | |
103 | vim-minimal | |
104 | yum | |
105 | yum-metadata-parser | |
106 | zlib |
diff -ruN rinse-1.7.orig/etc/fedora-12.packages rinse-1.7/etc/fedora-12.packages
old | new | |
---|---|---|
1 | audit-libs | |
2 | basesystem | |
3 | bash | |
4 | bzip2-libs | |
5 | chkconfig | |
6 | ConsoleKit-libs | |
7 | coreutils | |
8 | cpio | |
9 | cracklib | |
10 | cracklib-dicts | |
11 | crontabs | |
12 | cyrus-sasl-lib | |
13 | db4 | |
14 | dbus | |
15 | dbus-libs | |
16 | device-mapper | |
17 | device-mapper-libs | |
18 | dhclient | |
19 | dirmngr | |
20 | e2fsprogs | |
21 | e2fsprogs-libs | |
22 | elfutils-libelf | |
23 | ethtool | |
24 | expat | |
25 | fedora-release | |
26 | fedora-release-notes | |
27 | file | |
28 | file-libs | |
29 | filesystem | |
30 | findutils | |
31 | gamin | |
32 | gawk | |
33 | gdbm | |
34 | glib2 | |
35 | glibc | |
36 | glibc-common | |
37 | gnupg2 | |
38 | gpgme | |
39 | grep | |
40 | info | |
41 | initscripts | |
42 | iproute | |
43 | iputils | |
44 | keyutils-libs | |
45 | krb5-libs | |
46 | libacl | |
47 | libattr | |
48 | libcap | |
49 | libcurl | |
50 | libgcc | |
51 | libgcrypt | |
52 | libgpg-error | |
53 | libidn | |
54 | libksba | |
55 | libselinux | |
56 | libsepol | |
57 | libstdc++ | |
58 | libusb | |
59 | libxml2 | |
60 | linux-atm-libs | |
61 | logrotate | |
62 | lua | |
63 | MAKEDEV | |
64 | mingetty | |
65 | module-init-tools | |
66 | ncurses | |
67 | ncurses-base | |
68 | ncurses-libs | |
69 | net-tools | |
70 | nspr | |
71 | nss | |
72 | openldap | |
73 | openssl | |
74 | pam | |
75 | passwd | |
76 | pcre | |
77 | pinentry | |
78 | popt | |
79 | procps | |
80 | psmisc | |
81 | pth | |
82 | pygpgme | |
83 | python | |
84 | python-iniparse | |
85 | python-libs | |
86 | python-urlgrabber | |
87 | readline | |
88 | rpm | |
89 | rpm-libs | |
90 | rpm-python | |
91 | rsyslog | |
92 | sed | |
93 | setup | |
94 | shadow-utils | |
95 | sqlite | |
96 | sysvinit-tools | |
97 | tzdata | |
98 | udev | |
99 | upstart | |
100 | util-linux-ng | |
101 | vim-minimal | |
102 | yum | |
103 | yum-metadata-parser | |
104 | zlib | |
105 | ||
106 | # New to v12 | |
107 | xz-libs | |
108 | nss-util | |
109 | python-pycurl | |
110 | libssh2 | |
111 | libcom_err | |
112 | nss-softokn-freebl | |
113 | nss-softokn | |
114 | # Required or else login failse | |
115 | libcap-ng |
diff -ruN rinse-1.7.orig/etc/fedora-13.packages rinse-1.7/etc/fedora-13.packages
old | new | |
---|---|---|
1 | audit-libs | |
2 | basesystem | |
3 | bash | |
4 | bzip2-libs | |
5 | chkconfig | |
6 | ConsoleKit-libs | |
7 | coreutils | |
8 | cpio | |
9 | cracklib | |
10 | cracklib-dicts | |
11 | crontabs | |
12 | cyrus-sasl-lib | |
13 | db4 | |
14 | dbus | |
15 | dbus-libs | |
16 | device-mapper | |
17 | device-mapper-libs | |
18 | dhclient | |
19 | dirmngr | |
20 | e2fsprogs | |
21 | e2fsprogs-libs | |
22 | elfutils-libelf | |
23 | ethtool | |
24 | expat | |
25 | fedora-release | |
26 | fedora-release-notes | |
27 | file | |
28 | file-libs | |
29 | filesystem | |
30 | findutils | |
31 | gamin | |
32 | gawk | |
33 | gdbm | |
34 | glib2 | |
35 | glibc | |
36 | glibc-common | |
37 | gnupg2 | |
38 | gpgme | |
39 | grep | |
40 | info | |
41 | initscripts | |
42 | iproute | |
43 | iputils | |
44 | keyutils-libs | |
45 | krb5-libs | |
46 | libacl | |
47 | libattr | |
48 | libcap | |
49 | libcurl | |
50 | libgcc | |
51 | libgcrypt | |
52 | libgpg-error | |
53 | libidn | |
54 | libksba | |
55 | libselinux | |
56 | libsepol | |
57 | libstdc++ | |
58 | libusb | |
59 | libxml2 | |
60 | linux-atm-libs | |
61 | logrotate | |
62 | lua | |
63 | MAKEDEV | |
64 | mingetty | |
65 | module-init-tools | |
66 | ncurses | |
67 | ncurses-base | |
68 | ncurses-libs | |
69 | net-tools | |
70 | nspr | |
71 | nss | |
72 | openldap | |
73 | openssl | |
74 | pam | |
75 | passwd | |
76 | pcre | |
77 | pinentry | |
78 | popt | |
79 | procps | |
80 | psmisc | |
81 | pth | |
82 | pygpgme | |
83 | python | |
84 | python-iniparse | |
85 | python-libs | |
86 | python-urlgrabber | |
87 | readline | |
88 | rpm | |
89 | rpm-libs | |
90 | rpm-python | |
91 | rsyslog | |
92 | sed | |
93 | setup | |
94 | shadow-utils | |
95 | sqlite | |
96 | sysvinit-tools | |
97 | tzdata | |
98 | udev | |
99 | upstart | |
100 | util-linux-ng | |
101 | vim-minimal | |
102 | yum | |
103 | yum-metadata-parser | |
104 | zlib | |
105 | ||
106 | # New to v12 | |
107 | xz-libs | |
108 | nss-util | |
109 | python-pycurl | |
110 | libssh2 | |
111 | libcom_err | |
112 | nss-softokn-freebl | |
113 | nss-softokn | |
114 | # Required or else login failse | |
115 | libcap-ng | |
116 | ||
117 | # New to v13 | |
118 | c-ares |
diff -ruN rinse-1.7.orig/etc/fedora-14.packages rinse-1.7/etc/fedora-14.packages
old | new | |
---|---|---|
1 | audit-libs | |
2 | basesystem | |
3 | bash | |
4 | bzip2-libs | |
5 | chkconfig | |
6 | ConsoleKit-libs | |
7 | coreutils | |
8 | cpio | |
9 | cracklib | |
10 | cracklib-dicts | |
11 | crontabs | |
12 | cyrus-sasl-lib | |
13 | db4 | |
14 | dbus | |
15 | dbus-libs | |
16 | device-mapper | |
17 | device-mapper-libs | |
18 | dhclient | |
19 | e2fsprogs | |
20 | e2fsprogs-libs | |
21 | elfutils-libelf | |
22 | expat | |
23 | fedora-release | |
24 | fedora-release-notes | |
25 | file | |
26 | file-libs | |
27 | filesystem | |
28 | findutils | |
29 | gamin | |
30 | gawk | |
31 | gdbm | |
32 | glib2 | |
33 | glibc | |
34 | glibc-common | |
35 | gnupg2 | |
36 | gpgme | |
37 | grep | |
38 | info | |
39 | initscripts | |
40 | iproute | |
41 | iputils | |
42 | keyutils-libs | |
43 | krb5-libs | |
44 | libacl | |
45 | libattr | |
46 | libcap | |
47 | libcurl | |
48 | libgcc | |
49 | libgcrypt | |
50 | libgpg-error | |
51 | libidn | |
52 | libselinux | |
53 | libsepol | |
54 | libstdc++ | |
55 | libusb | |
56 | libxml2 | |
57 | linux-atm-libs | |
58 | logrotate | |
59 | lua | |
60 | mingetty | |
61 | module-init-tools | |
62 | ncurses | |
63 | ncurses-base | |
64 | ncurses-libs | |
65 | net-tools | |
66 | nspr | |
67 | nss | |
68 | openldap | |
69 | openssl | |
70 | pam | |
71 | passwd | |
72 | pcre | |
73 | pinentry | |
74 | popt | |
75 | procps | |
76 | psmisc | |
77 | pth | |
78 | pygpgme | |
79 | python | |
80 | python-iniparse | |
81 | python-libs | |
82 | python-urlgrabber | |
83 | readline | |
84 | rpm | |
85 | rpm-libs | |
86 | rpm-python | |
87 | rsyslog | |
88 | sed | |
89 | setup | |
90 | shadow-utils | |
91 | sqlite | |
92 | sysvinit-tools | |
93 | tzdata | |
94 | udev | |
95 | upstart | |
96 | util-linux-ng | |
97 | vim-minimal | |
98 | yum | |
99 | yum-metadata-parser | |
100 | zlib | |
101 | ||
102 | # New to v12 | |
103 | xz-libs | |
104 | nss-util | |
105 | python-pycurl | |
106 | libssh2 | |
107 | libcom_err | |
108 | nss-softokn-freebl | |
109 | nss-softokn | |
110 | # Required or else login failse | |
111 | libcap-ng | |
112 | ||
113 | # New to v13 | |
114 | c-ares |
diff -ruN rinse-1.7.orig/etc/fedora-7.packages rinse-1.7/etc/fedora-7.packages
old | new | |
---|---|---|
1 | # | |
2 | # Packages which we'll need to download for a minimal installation | |
3 | # of Fedora Core 7. | |
4 | # | |
5 | ||
6 | ||
7 | MAKEDEV | |
8 | SysVinit | |
9 | audit-libs | |
10 | basesystem | |
11 | bash | |
12 | beecrypt | |
13 | bzip2-libs | |
14 | chkconfig | |
15 | coreutils | |
16 | cracklib | |
17 | cracklib-dicts | |
18 | db4 | |
19 | device-mapper | |
20 | e2fsprogs | |
21 | e2fsprogs-libs | |
22 | elfutils-libelf | |
23 | ethtool | |
24 | expat | |
25 | filesystem | |
26 | findutils | |
27 | gawk | |
28 | gdbm | |
29 | glib2 | |
30 | glibc | |
31 | glibc-common | |
32 | grep | |
33 | info | |
34 | initscripts | |
35 | iproute | |
36 | iputils | |
37 | krb5-libs | |
38 | libacl | |
39 | libattr | |
40 | libcap | |
41 | libgcc | |
42 | libidn | |
43 | keyutils-libs | |
44 | libselinux | |
45 | libsepol | |
46 | libstdc++ | |
47 | libsysfs | |
48 | libtermcap | |
49 | libxml2 | |
50 | libxml2-python | |
51 | mcstrans | |
52 | mingetty | |
53 | mktemp | |
54 | module-init-tools | |
55 | ncurses | |
56 | neon | |
57 | net-tools | |
58 | openssl | |
59 | pam | |
60 | pcre | |
61 | popt | |
62 | procps | |
63 | psmisc | |
64 | python | |
65 | python-elementtree | |
66 | python-libs | |
67 | python-numeric | |
68 | python-sqlite | |
69 | python-urlgrabber | |
70 | readline | |
71 | rpm | |
72 | rpm-libs | |
73 | rpm-python | |
74 | sed | |
75 | setup | |
76 | shadow-utils | |
77 | sqlite | |
78 | sysklogd | |
79 | termcap | |
80 | tzdata | |
81 | udev | |
82 | util-linux | |
83 | yum | |
84 | yum-metadata-parser | |
85 | zlib |
diff -ruN rinse-1.7.orig/etc/fedora-8.packages rinse-1.7/etc/fedora-8.packages
old | new | |
---|---|---|
1 | # | |
2 | # Packages which we'll need to download for a minimal installation | |
3 | # of Fedora Core 8. | |
4 | # | |
5 | ||
6 | ||
7 | MAKEDEV | |
8 | SysVinit | |
9 | audit-libs | |
10 | basesystem | |
11 | bash | |
12 | beecrypt | |
13 | bzip2-libs | |
14 | chkconfig | |
15 | coreutils | |
16 | cracklib | |
17 | cracklib-dicts | |
18 | db4 | |
19 | device-mapper | |
20 | e2fsprogs | |
21 | e2fsprogs-libs | |
22 | elfutils-libelf | |
23 | ethtool | |
24 | expat | |
25 | filesystem | |
26 | findutils | |
27 | gawk | |
28 | gdbm | |
29 | glib2 | |
30 | glibc | |
31 | glibc-common | |
32 | grep | |
33 | info | |
34 | initscripts | |
35 | iproute | |
36 | iputils | |
37 | krb5-libs | |
38 | libacl | |
39 | libattr | |
40 | libcap | |
41 | libgcc | |
42 | libidn | |
43 | keyutils-libs | |
44 | libselinux | |
45 | libsepol | |
46 | libstdc++ | |
47 | libsysfs | |
48 | libtermcap | |
49 | libxml2 | |
50 | libxml2-python | |
51 | mcstrans | |
52 | mingetty | |
53 | mktemp | |
54 | module-init-tools | |
55 | ncurses | |
56 | neon | |
57 | net-tools | |
58 | openssl | |
59 | pam | |
60 | pcre | |
61 | popt | |
62 | procps | |
63 | psmisc | |
64 | python | |
65 | python-elementtree | |
66 | python-libs | |
67 | python-numeric | |
68 | python-sqlite | |
69 | python-urlgrabber | |
70 | readline | |
71 | rpm | |
72 | rpm-libs | |
73 | rpm-python | |
74 | sed | |
75 | setup | |
76 | shadow-utils | |
77 | sqlite | |
78 | sysklogd | |
79 | termcap | |
80 | tzdata | |
81 | udev | |
82 | util-linux | |
83 | yum | |
84 | yum-metadata-parser | |
85 | zlib |
diff -ruN rinse-1.7.orig/etc/fedora-9.packages rinse-1.7/etc/fedora-9.packages
old | new | |
---|---|---|
1 | audit-libs | |
2 | basesystem | |
3 | bash | |
4 | bzip2-libs | |
5 | chkconfig | |
6 | ConsoleKit-libs | |
7 | coreutils | |
8 | cpio | |
9 | cracklib | |
10 | cracklib-dicts | |
11 | crontabs | |
12 | cyrus-sasl-lib | |
13 | db4 | |
14 | dbus | |
15 | dbus-libs | |
16 | device-mapper | |
17 | device-mapper-libs | |
18 | dhclient | |
19 | dirmngr | |
20 | e2fsprogs | |
21 | e2fsprogs-libs | |
22 | elfutils-libelf | |
23 | ethtool | |
24 | event-compat-sysv | |
25 | expat | |
26 | fedora-release | |
27 | fedora-release-notes | |
28 | filesystem | |
29 | findutils | |
30 | gamin | |
31 | gawk | |
32 | gdbm | |
33 | glib2 | |
34 | glibc | |
35 | glibc-common | |
36 | gnupg2 | |
37 | gpgme | |
38 | grep | |
39 | info | |
40 | initscripts | |
41 | iproute | |
42 | iputils | |
43 | keyutils-libs | |
44 | krb5-libs | |
45 | libacl | |
46 | libattr | |
47 | libcap | |
48 | libcurl | |
49 | libgcc | |
50 | libgcrypt | |
51 | libgpg-error | |
52 | libidn | |
53 | libksba | |
54 | libselinux | |
55 | libsepol | |
56 | libstdc++ | |
57 | libsysfs | |
58 | libusb | |
59 | libvolume_id | |
60 | libxml2 | |
61 | linux-atm-libs | |
62 | logrotate | |
63 | MAKEDEV | |
64 | mingetty | |
65 | module-init-tools | |
66 | ncurses | |
67 | ncurses-base | |
68 | ncurses-libs | |
69 | net-tools | |
70 | nspr | |
71 | nss | |
72 | openldap | |
73 | openssl | |
74 | pam | |
75 | pcre | |
76 | pinentry | |
77 | popt | |
78 | procps | |
79 | psmisc | |
80 | pth | |
81 | pygpgme | |
82 | python | |
83 | python-iniparse | |
84 | python-libs | |
85 | python-urlgrabber | |
86 | readline | |
87 | rpm | |
88 | rpm-libs | |
89 | rpm-python | |
90 | rsyslog | |
91 | sed | |
92 | setup | |
93 | shadow-utils | |
94 | sqlite | |
95 | sysvinit-tools | |
96 | tzdata | |
97 | udev | |
98 | upstart | |
99 | util-linux-ng | |
100 | vim-minimal | |
101 | yum | |
102 | yum-metadata-parser | |
103 | zlib |
diff -ruN rinse-1.7.orig/etc/fedora-core-10.packages rinse-1.7/etc/fedora-core-10.packages
old | new | |
---|---|---|
1 | ||
2 | ||
3 | ||
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | ||
22 | ||
23 | ||
24 | ||
25 | ||
26 | ||
27 | ||
28 | ||
29 | ||
30 | ||
31 | ||
32 | ||
33 | ||
34 | ||
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ||
71 | ||
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | ||
106 |
diff -ruN rinse-1.7.orig/etc/fedora-core-7.packages rinse-1.7/etc/fedora-core-7.packages
old | new | |
---|---|---|
1 | ||
2 | ||
3 | ||
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | ||
22 | ||
23 | ||
24 | ||
25 | ||
26 | ||
27 | ||
28 | ||
29 | ||
30 | ||
31 | ||
32 | ||
33 | ||
34 | ||
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ||
71 | ||
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 |
diff -ruN rinse-1.7.orig/etc/fedora-core-8.packages rinse-1.7/etc/fedora-core-8.packages
old | new | |
---|---|---|
1 | ||
2 | ||
3 | ||
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | ||
22 | ||
23 | ||
24 | ||
25 | ||
26 | ||
27 | ||
28 | ||
29 | ||
30 | ||
31 | ||
32 | ||
33 | ||
34 | ||
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ||
71 | ||
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 |
diff -ruN rinse-1.7.orig/etc/fedora-core-9.packages rinse-1.7/etc/fedora-core-9.packages
old | new | |
---|---|---|
1 | ||
2 | ||
3 | ||
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | ||
22 | ||
23 | ||
24 | ||
25 | ||
26 | ||
27 | ||
28 | ||
29 | ||
30 | ||
31 | ||
32 | ||
33 | ||
34 | ||
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ||
71 | ||
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 |
diff -ruN rinse-1.7.orig/etc/opensuse-11.0.packages rinse-1.7/etc/opensuse-11.0.packages
old | new | |
---|---|---|
72 | 72 | libzio |
73 | 73 | libzypp |
74 | 74 | login |
75 | makedev | |
75 | 76 | mingetty |
76 | 77 | module-init-tools |
77 | 78 | ncurses-utils |
diff -ruN rinse-1.7.orig/etc/opensuse-11.1.packages rinse-1.7/etc/opensuse-11.1.packages
old | new | |
---|---|---|
78 | 78 | libzio |
79 | 79 | libzypp |
80 | 80 | login |
81 | makedev | |
81 | 82 | mingetty |
82 | 83 | module-init-tools |
83 | 84 | ncurses-utils |
diff -ruN rinse-1.7.orig/etc/opensuse-11.2.packages rinse-1.7/etc/opensuse-11.2.packages
old | new | |
---|---|---|
1 | # | |
2 | # Packages which we'll need to download for a minimal installation | |
3 | # OpenSuSE 11.1 | |
4 | # | |
5 | ||
6 | ||
7 | aaa_base | |
8 | audit-libs | |
9 | bash | |
10 | boost-license | |
11 | bzip2 | |
12 | ConsoleKit | |
13 | coreutils | |
14 | coreutils-lang | |
15 | cpio | |
16 | cpio-lang | |
17 | cracklib | |
18 | cracklib-dict-small | |
19 | cyrus-sasl | |
20 | dbus-1 | |
21 | dbus-1-glib | |
22 | device-mapper | |
23 | diffutils | |
24 | dirmngr | |
25 | e2fsprogs | |
26 | ethtool | |
27 | expat | |
28 | filesystem | |
29 | fillup | |
30 | findutils | |
31 | gawk | |
32 | gdbm | |
33 | glib2 | |
34 | glib2-lang | |
35 | glib2-branding-upstream | |
36 | glibc | |
37 | gpg2 | |
38 | gpg2-lang | |
39 | grep | |
40 | gzip | |
41 | hal | |
42 | info | |
43 | insserv | |
44 | keyutils-libs | |
45 | krb5 | |
46 | libacl | |
47 | libattr | |
48 | libboost_signals1_36_0 | |
49 | libbz2-1 | |
50 | libcom_err2 | |
51 | libcurl4 | |
52 | libdb-4_5 | |
53 | libexpat1 | |
54 | libgcc43 | |
55 | libgcrypt11 | |
56 | libglib-2_0-0 | |
57 | libgobject-2_0-0 | |
58 | libgthread-2_0-0 | |
59 | libgpg-error0 | |
60 | libidn | |
61 | libksba | |
62 | libldap-2_4-2 | |
63 | libncurses5 | |
64 | libnscd | |
65 | libopenssl0_9_8 | |
66 | libreadline5 | |
67 | libreiserfs | |
68 | libselinux1 | |
69 | libsepol1 | |
70 | libsmbios2 | |
71 | libstdc++43 | |
72 | libusb-0_1-4 | |
73 | libuuid1 | |
74 | libvolume_id1 | |
75 | libxcrypt | |
76 | libxml2 | |
77 | libxml2-python | |
78 | libzio | |
79 | libzypp | |
80 | login | |
81 | makedev | |
82 | mingetty | |
83 | module-init-tools | |
84 | ncurses-utils | |
85 | neon | |
86 | net-tools | |
87 | openSUSE-release | |
88 | openSUSE-release-ftp | |
89 | openslp | |
90 | pam | |
91 | pam-config | |
92 | pam-modules | |
93 | parted | |
94 | pciutils | |
95 | pcre | |
96 | perl-base | |
97 | permissions | |
98 | pinentry | |
99 | pm-utils | |
100 | pmtools | |
101 | PolicyKit | |
102 | popt | |
103 | procps | |
104 | psmisc | |
105 | pth | |
106 | pwdutils | |
107 | python | |
108 | python-urlgrabber | |
109 | rpm | |
110 | rpm-python | |
111 | satsolver-tools | |
112 | sed | |
113 | setserial | |
114 | sysvinit | |
115 | termcap | |
116 | terminfo-base | |
117 | udev | |
118 | util-linux | |
119 | uuid-runtime | |
120 | zlib | |
121 | zypper | |
122 | ||
123 | # New to 11.2 | |
124 | libreadline6 | |
125 | libaugeas0 | |
126 | libstdc++44 | |
127 | libgcc44 | |
128 | liblua5_1 | |
129 | libpopt0 | |
130 | libelf1 | |
131 | liblzma0 |
diff -ruN rinse-1.7.orig/etc/opensuse-11.3.packages rinse-1.7/etc/opensuse-11.3.packages
old | new | |
---|---|---|
1 | # | |
2 | # Packages which we'll need to download for a minimal installation | |
3 | # OpenSuSE 11.1 | |
4 | # | |
5 | ||
6 | ||
7 | aaa_base | |
8 | audit-libs | |
9 | bash | |
10 | boost-license | |
11 | bzip2 | |
12 | ConsoleKit | |
13 | coreutils | |
14 | coreutils-lang | |
15 | cpio | |
16 | cpio-lang | |
17 | cracklib | |
18 | cracklib-dict-small | |
19 | cyrus-sasl | |
20 | dbus-1 | |
21 | dbus-1-glib | |
22 | device-mapper | |
23 | diffutils | |
24 | dirmngr | |
25 | e2fsprogs | |
26 | ethtool | |
27 | expat | |
28 | filesystem | |
29 | fillup | |
30 | findutils | |
31 | gawk | |
32 | gdbm | |
33 | glib2 | |
34 | glib2-lang | |
35 | glib2-branding-upstream | |
36 | glibc | |
37 | gpg2 | |
38 | gpg2-lang | |
39 | grep | |
40 | gzip | |
41 | hal | |
42 | info | |
43 | insserv | |
44 | keyutils-libs | |
45 | krb5 | |
46 | libacl | |
47 | libattr | |
48 | libboost_signals1_36_0 | |
49 | libbz2-1 | |
50 | libcom_err2 | |
51 | libcurl4 | |
52 | libdb-4_5 | |
53 | libexpat1 | |
54 | libgcc43 | |
55 | libgcrypt11 | |
56 | libglib-2_0-0 | |
57 | libgobject-2_0-0 | |
58 | libgthread-2_0-0 | |
59 | libgpg-error0 | |
60 | libidn | |
61 | libksba | |
62 | libldap-2_4-2 | |
63 | libncurses5 | |
64 | libnscd | |
65 | libopenssl0_9_8 | |
66 | libreadline5 | |
67 | libreiserfs | |
68 | libselinux1 | |
69 | libsepol1 | |
70 | libsmbios2 | |
71 | libstdc++43 | |
72 | libusb-0_1-4 | |
73 | libuuid1 | |
74 | libvolume_id1 | |
75 | libxcrypt | |
76 | libxml2 | |
77 | libxml2-python | |
78 | libzio | |
79 | libzypp | |
80 | login | |
81 | makedev | |
82 | mingetty | |
83 | module-init-tools | |
84 | ncurses-utils | |
85 | neon | |
86 | net-tools | |
87 | openSUSE-release | |
88 | openSUSE-release-ftp | |
89 | openslp | |
90 | pam | |
91 | pam-config | |
92 | pam-modules | |
93 | parted | |
94 | pciutils | |
95 | pcre | |
96 | perl-base | |
97 | permissions | |
98 | pinentry | |
99 | pm-utils | |
100 | pmtools | |
101 | popt | |
102 | procps | |
103 | psmisc | |
104 | pth | |
105 | pwdutils | |
106 | python | |
107 | python-urlgrabber | |
108 | rpm | |
109 | rpm-python | |
110 | satsolver-tools | |
111 | sed | |
112 | setserial | |
113 | sysvinit | |
114 | termcap | |
115 | terminfo-base | |
116 | udev | |
117 | util-linux | |
118 | uuid-runtime | |
119 | zlib | |
120 | zypper | |
121 | ||
122 | # New to 11.2 | |
123 | libreadline6 | |
124 | libaugeas0 | |
125 | liblua5_1 | |
126 | libpopt0 | |
127 | libelf1 | |
128 | liblzma0 | |
129 | ||
130 | # New to 11.3 | |
131 | libstdc++45 | |
132 | libgcc45 | |
133 | libopenssl1_0_0 | |
134 | libassuan0 | |
135 | libssh2-1 | |
136 | libudev0 |
diff -ruN rinse-1.7.orig/etc/rinse.conf rinse-1.7/etc/rinse.conf
old | new | |
---|---|---|
11 | 11 | |
12 | 12 | |
13 | 13 | [centos-4] |
14 | mirror = http://mirror. |
|
15 | mirror.amd64 = http://mirror. |
|
14 | mirror = http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/ | |
15 | mirror.amd64 = http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/ | |
16 | 16 | |
17 | 17 | |
18 | 18 | [centos-5] |
19 | mirror = http://mirror. |
|
20 | mirror.amd64 = http://mirror. |
|
19 | mirror = http://mirror.centos.org/centos/5/os/i386/CentOS/ | |
20 | mirror.amd64 = http://mirror.centos.org/centos/5/os/x86_64/CentOS/ | |
21 | 21 | |
22 | 22 | |
23 | 23 | [fedora-core-4] |
… | … | |
35 | 35 | mirror.amd64 = http://ftp.heanet.ie/pub/fedora/linux/core/6/x86_64/os/Fedora/RPMS/ |
36 | 36 | |
37 | 37 | |
38 | [fedora- |
|
39 | mirror = http:// |
|
40 | mirror.amd64 = http:// |
|
38 | [fedora-7] | |
39 | mirror = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/7/Fedora/i386/os/Fedora/ | |
40 | mirror.amd64 = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/7/Fedora/x86_64/os/Fedora/ | |
41 | 41 | |
42 | 42 | |
43 | [fedora- |
|
44 | mirror = http:// |
|
45 | mirror.amd64 = http:// |
|
43 | [fedora-8] | |
44 | mirror = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/8/Fedora/i386/os/Packages/ | |
45 | mirror.amd64 = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/8/Fedora/x86_64/os/Packages/ | |
46 | 46 | |
47 | 47 | |
48 | [fedora-9] | |
49 | mirror = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Fedora/i386/os/Packages/ | |
50 | mirror.amd64 = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Fedora/x86_64/os/Packages/ | |
48 | 51 | |
49 | ||
50 | ||
51 | ||
52 | 52 | |
53 | [fedora-10] | |
54 | mirror = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/10/Fedora/i386/os/Packages/ | |
55 | mirror.amd64 = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/10/Fedora/x86_64/os/Packages/ | |
53 | 56 | |
54 | [fedora-core-10] | |
55 | mirror = http://mirrors.vexs.net/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/ | |
56 | mirror.amd64 = http://mirrors.vexs.net/pub/fedora/linux/releases/10/Fedora/x86_64/os/Packages/ | |
57 | ||
58 | [fedora-12] | |
59 | mirror = http://mirrors.kernel.org/fedora/releases/12/Fedora/i386/os/Packages/ | |
60 | mirror.amd64 = http://mirrors.kernel.org/fedora/releases/12/Fedora/x86_64/os/Packages/ | |
61 | ||
62 | ||
63 | [fedora-13] | |
64 | mirror = http://mirrors.kernel.org/fedora/releases/13/Fedora/i386/os/Packages/ | |
65 | mirror.amd64 = http://mirrors.kernel.org/fedora/releases/13/Fedora/x86_64/os/Packages/ | |
66 | ||
67 | [fedora-14] | |
68 | mirror = http://mirrors.kernel.org/fedora/releases/14/Fedora/i386/os/Packages/ | |
69 | mirror.amd64 = http://mirrors.kernel.org/fedora/releases/14/Fedora/x86_64/os/Packages/ | |
57 | 70 | |
58 | 71 | |
59 | 72 | [opensuse-10.1] |
… | … | |
72 | 85 | |
73 | 86 | |
74 | 87 | [opensuse-11.0] |
75 | mirror = http://download.opensuse.org/distribution/11.0/repo/oss/suse/i |
|
88 | mirror = http://download.opensuse.org/distribution/11.0/repo/oss/suse/i586/ | |
76 | 89 | mirror.amd64 = http://download.opensuse.org/distribution/11.0/repo/oss/suse/x86_64/ |
77 | 90 | |
78 | 91 | |
79 | 92 | [opensuse-11.1] |
80 | mirror = http://download.opensuse.org/distribution/11.1/repo/oss/suse/i |
|
93 | mirror = http://download.opensuse.org/distribution/11.1/repo/oss/suse/i586/ | |
81 | 94 | mirror.amd64 = http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/ |
82 | 95 | |
96 | ||
97 | [opensuse-11.2] | |
98 | mirror = http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/ | |
99 | mirror.amd64 = http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/ | |
100 | ||
101 | [opensuse-11.3] | |
102 | mirror = http://download.opensuse.org/distribution/11.3/repo/oss/suse/i586/ | |
103 | mirror.amd64 = http://download.opensuse.org/distribution/11.3/repo/oss/suse/x86_64/ |
diff -ruN rinse-1.7.orig/scripts/centos-5/post-install.sh rinse-1.7/scripts/centos-5/post-install.sh
old | new | |
---|---|---|
29 | 29 | done |
30 | 30 | |
31 | 31 | # |
32 | # Record arch, if present. | |
33 | # | |
34 | if [ -d $prefix/etc/rpm ]; then | |
35 | ||
36 | # | |
37 | # If i386 then record this | |
38 | # | |
39 | if [ "$arch" = "i386" ]; then | |
40 | echo "i686-centos-linux-gnu" >> $prefix/etc/rpm/platform | |
41 | fi | |
42 | fi | |
43 | ||
44 | # | |
32 | 45 | # 4. Run "yum install yum". |
33 | 46 | # |
34 | 47 | echo " Mounting /proc" |
diff -ruN rinse-1.7.orig/scripts/fedora-10/post-install.sh rinse-1.7/scripts/fedora-10/post-install.sh
old | new | |
---|---|---|
1 | #!/bin/sh | |
2 | # | |
3 | # Customise the distribution post-install. | |
4 | # | |
5 | ||
6 | ||
7 | ||
8 | prefix=$1 | |
9 | ||
10 | if [ ! -d "${prefix}" ]; then | |
11 | echo "Serious error - the named directory doesn't exist." | |
12 | exit | |
13 | fi | |
14 | ||
15 | ||
16 | ||
17 | # | |
18 | # 1. Make sure there is a resolv.conf file present, such that | |
19 | # DNS lookups succeed. | |
20 | # | |
21 | echo " Creating resolv.conf" | |
22 | if [ ! -d "${prefix}/etc/" ]; then | |
23 | mkdir -p "${prefix}/etc/" | |
24 | fi | |
25 | cp /etc/resolv.conf "${prefix}/etc/" | |
26 | ||
27 | ||
28 | # | |
29 | # 2. Copy the cached .RPM files into the yum directory, so that | |
30 | # yum doesn't need to make them again. | |
31 | # | |
32 | echo " Setting up YUM cache" | |
33 | if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then | |
34 | mkdir -p ${prefix}/var/cache/yum/core/packages/ | |
35 | fi | |
36 | if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then | |
37 | mkdir -p ${prefix}/var/cache/yum/updates-released/packages/ | |
38 | fi | |
39 | ||
40 | for i in ${prefix}/*.rpm ; do | |
41 | cp $i ${prefix}/var/cache/yum/core/packages/ | |
42 | cp $i ${prefix}/var/cache/yum/updates-released/packages/ | |
43 | done | |
44 | ||
45 | ||
46 | ||
47 | # | |
48 | # 3. Ensure that Yum has a working configuration file. | |
49 | # | |
50 | arch=i386 | |
51 | if [ $ARCH = "amd64" ] ; then | |
52 | arch=x86_64 | |
53 | fi | |
54 | ||
55 | echo " Creating yum.conf" | |
56 | cat > ${prefix}/etc/yum.conf <<EOF | |
57 | [main] | |
58 | cachedir=/var/cache/yum | |
59 | debuglevel=1 | |
60 | reposdir=/dev/null | |
61 | logfile=/var/log/yum.log | |
62 | retries=20 | |
63 | obsoletes=1 | |
64 | gpgcheck=0 | |
65 | assumeyes=1 | |
66 | ||
67 | # repos | |
68 | ||
69 | [core] | |
70 | name=core | |
71 | baseurl=$mirror | |
72 | ||
73 | EOF | |
74 | ||
75 | ||
76 | # | |
77 | # 4. Run "yum install yum". | |
78 | # | |
79 | echo " Mounting /proc" | |
80 | if [ ! -d "${prefix}/proc" ]; then | |
81 | mkdir -p "${prefix}/proc" | |
82 | fi | |
83 | mount -o bind /proc ${prefix}/proc | |
84 | ||
85 | echo " Priming the yum cache" | |
86 | if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then | |
87 | mkdir -p ${prefix}/var/cache/yum/core/packages | |
88 | fi | |
89 | cp /var/cache/rinse/fedora-10.$ARCH/* ${prefix}/var/cache/yum/core/packages/ | |
90 | ||
91 | echo " Bootstrapping yum" | |
92 | chroot ${prefix} /sbin/ldconfig | |
93 | chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null | |
94 | chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null | |
95 | chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null | |
96 | ||
97 | ||
98 | # | |
99 | # 5. Clean up | |
100 | # | |
101 | echo " Cleaning up" | |
102 | chroot ${prefix} /usr/bin/yum clean all | |
103 | ||
104 | umount ${prefix}/proc | |
105 | ||
106 | ||
107 | # | |
108 | # 6. Remove the .rpm files from the prefix root. | |
109 | # | |
110 | echo " Final tidy..." | |
111 | for i in ${prefix}/*.rpm; do | |
112 | rm -f $i | |
113 | done | |
114 | find ${prefix} -name '*.rpmorig' -delete | |
115 | find ${prefix} -name '*.rpmnew' -delete |
diff -ruN rinse-1.7.orig/scripts/fedora-11/post-install.sh rinse-1.7/scripts/fedora-11/post-install.sh
old | new | |
---|---|---|
1 | #!/bin/sh | |
2 | # | |
3 | # Customise the distribution post-install. | |
4 | # | |
5 | ||
6 | ||
7 | ||
8 | prefix=$1 | |
9 | ||
10 | if [ ! -d "${prefix}" ]; then | |
11 | echo "Serious error - the named directory doesn't exist." | |
12 | exit | |
13 | fi | |
14 | ||
15 | ||
16 | ||
17 | # | |
18 | # 1. Make sure there is a resolv.conf file present, such that | |
19 | # DNS lookups succeed. | |
20 | # | |
21 | echo " Creating resolv.conf" | |
22 | if [ ! -d "${prefix}/etc/" ]; then | |
23 | mkdir -p "${prefix}/etc/" | |
24 | fi | |
25 | cp /etc/resolv.conf "${prefix}/etc/" | |
26 | ||
27 | ||
28 | # | |
29 | # 2. Copy the cached .RPM files into the yum directory, so that | |
30 | # yum doesn't need to make them again. | |
31 | # | |
32 | echo " Setting up YUM cache" | |
33 | if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then | |
34 | mkdir -p ${prefix}/var/cache/yum/core/packages/ | |
35 | fi | |
36 | if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then | |
37 | mkdir -p ${prefix}/var/cache/yum/updates-released/packages/ | |
38 | fi | |
39 | ||
40 | for i in ${prefix}/*.rpm ; do | |
41 | cp $i ${prefix}/var/cache/yum/core/packages/ | |
42 | cp $i ${prefix}/var/cache/yum/updates-released/packages/ | |
43 | done | |
44 | ||
45 | ||
46 | ||
47 | # | |
48 | # 3. Ensure that Yum has a working configuration file. | |
49 | # | |
50 | arch=i386 | |
51 | if [ $ARCH = "amd64" ] ; then | |
52 | arch=x86_64 | |
53 | fi | |
54 | ||
55 | echo " Creating yum.conf" | |
56 | cat > ${prefix}/etc/yum.conf <<EOF | |
57 | [main] | |
58 | cachedir=/var/cache/yum | |
59 | debuglevel=1 | |
60 | reposdir=/dev/null | |
61 | logfile=/var/log/yum.log | |
62 | retries=20 | |
63 | obsoletes=1 | |
64 | gpgcheck=0 | |
65 | assumeyes=1 | |
66 | ||
67 | # repos | |
68 | ||
69 | [core] | |
70 | name=core | |
71 | baseurl=$mirror | |
72 | ||
73 | EOF | |
74 | ||
75 | ||
76 | # | |
77 | # 4. Run "yum install yum". | |
78 | # | |
79 | echo " Mounting /proc" | |
80 | if [ ! -d "${prefix}/proc" ]; then | |
81 | mkdir -p "${prefix}/proc" | |
82 | fi | |
83 | mount -o bind /proc ${prefix}/proc | |
84 | ||
85 | echo " Priming the yum cache" | |
86 | if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then | |
87 | mkdir -p ${prefix}/var/cache/yum/core/packages | |
88 | fi | |
89 | cp /var/cache/rinse/fedora-11.$ARCH/* ${prefix}/var/cache/yum/core/packages/ | |
90 | ||
91 | echo " Bootstrapping yum" | |
92 | chroot ${prefix} /sbin/ldconfig | |
93 | chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null | |
94 | chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null | |
95 | chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null | |
96 | ||
97 | ||
98 | # | |
99 | # 5. Clean up | |
100 | # | |
101 | echo " Cleaning up" | |
102 | chroot ${prefix} /usr/bin/yum clean all | |
103 | ||
104 | umount ${prefix}/proc | |
105 | ||
106 | ||
107 | # | |
108 | # 6. Remove the .rpm files from the prefix root. | |
109 | # | |
110 | echo " Final tidy..." | |
111 | for i in ${prefix}/*.rpm; do | |
112 | rm -f $i | |
113 | done | |
114 | find ${prefix} -name '*.rpmorig' -delete | |
115 | find ${prefix} -name '*.rpmnew' -delete |
diff -ruN rinse-1.7.orig/scripts/fedora-12/post-install.sh rinse-1.7/scripts/fedora-12/post-install.sh
old | new | |
---|---|---|
1 | #!/bin/sh | |
2 | # | |
3 | # Customise the distribution post-install. | |
4 | # | |
5 | ||
6 | ||
7 | ||
8 | prefix=$1 | |
9 | ||
10 | if [ ! -d "${prefix}" ]; then | |
11 | echo "Serious error - the named directory doesn't exist." | |
12 | exit | |
13 | fi | |
14 | ||
15 | ||
16 | ||
17 | # | |
18 | # 1. Make sure there is a resolv.conf file present, such that | |
19 | # DNS lookups succeed. | |
20 | # | |
21 | echo " Creating resolv.conf" | |
22 | if [ ! -d "${prefix}/etc/" ]; then | |
23 | mkdir -p "${prefix}/etc/" | |
24 | fi | |
25 | cp /etc/resolv.conf "${prefix}/etc/" | |
26 | ||
27 | ||
28 | # | |
29 | # 2. Copy the cached .RPM files into the yum directory, so that | |
30 | # yum doesn't need to make them again. | |
31 | # | |
32 | echo " Setting up YUM cache" | |
33 | if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then | |
34 | mkdir -p ${prefix}/var/cache/yum/core/packages/ | |
35 | fi | |
36 | if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then | |
37 | mkdir -p ${prefix}/var/cache/yum/updates-released/packages/ | |
38 | fi | |
39 | ||
40 | for i in ${prefix}/*.rpm ; do | |
41 | cp $i ${prefix}/var/cache/yum/core/packages/ | |
42 | cp $i ${prefix}/var/cache/yum/updates-released/packages/ | |
43 | done | |
44 | ||
45 | ||
46 | ||
47 | # | |
48 | # 3. Ensure that Yum has a working configuration file. | |
49 | # | |
50 | arch=i386 | |
51 | if [ $ARCH = "amd64" ] ; then | |
52 | arch=x86_64 | |
53 | fi | |
54 | ||
55 | # A correct mirror URL does not contain /Packages on the end | |
56 | mirror=`dirname $mirror` | |
57 | ||
58 | echo " Creating initial yum.conf" | |
59 | cat > ${prefix}/etc/yum.conf <<EOF | |
60 | [main] | |
61 | reposdir=/dev/null | |
62 | logfile=/var/log/yum.log | |
63 | ||
64 | [core] | |
65 | name=core | |
66 | baseurl=$mirror | |
67 | EOF | |
68 | ||
69 | ||
70 | # | |
71 | # 4. Run "yum install yum". | |
72 | # | |
73 | echo " Mounting /proc" | |
74 | if [ ! -d "${prefix}/proc" ]; then | |
75 | mkdir -p "${prefix}/proc" | |
76 | fi | |
77 | mount -o bind /proc ${prefix}/proc | |
78 | ||
79 | echo " Priming the yum cache" | |
80 | if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then | |
81 | mkdir -p ${prefix}/var/cache/yum/core/packages | |
82 | fi | |
83 | cp /var/cache/rinse/fedora-12.$ARCH/* ${prefix}/var/cache/yum/core/packages/ | |
84 | ||
85 | echo " Bootstrapping yum" | |
86 | chroot ${prefix} /sbin/ldconfig | |
87 | chroot ${prefix} /sbin/MAKEDEV urandom | |
88 | chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null | |
89 | chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null | |
90 | chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null | |
91 | ||
92 | # Can use regular repositories now | |
93 | echo " Creating final yum.conf" | |
94 | cat > ${prefix}/etc/yum.conf <<EOF | |
95 | [main] | |
96 | logfile=/var/log/yum.log | |
97 | gpgcheck=1 | |
98 | ||
99 | # PUT YOUR REPOS HERE OR IN separate files named file.repo | |
100 | # in /etc/yum.repos.d | |
101 | EOF | |
102 | ||
103 | ||
104 | # | |
105 | # 5. Clean up | |
106 | # | |
107 | echo " Cleaning up" | |
108 | chroot ${prefix} /usr/bin/yum clean all | |
109 | ||
110 | umount ${prefix}/proc | |
111 | ||
112 | ||
113 | # | |
114 | # 6. Remove the .rpm files from the prefix root. | |
115 | # | |
116 | echo " Final tidy..." | |
117 | for i in ${prefix}/*.rpm; do | |
118 | rm -f $i | |
119 | done | |
120 | find ${prefix} -name '*.rpmorig' -delete | |
121 | find ${prefix} -name '*.rpmnew' -delete |
diff -ruN rinse-1.7.orig/scripts/fedora-13/post-install.sh rinse-1.7/scripts/fedora-13/post-install.sh
old | new | |
---|---|---|
1 | #!/bin/sh | |
2 | # | |
3 | # Customise the distribution post-install. | |
4 | # | |
5 | ||
6 | ||
7 | ||
8 | prefix=$1 | |
9 | ||
10 | if [ ! -d "${prefix}" ]; then | |
11 | echo "Serious error - the named directory doesn't exist." | |
12 | exit | |
13 | fi | |
14 | ||
15 | ||
16 | ||
17 | # | |
18 | # 1. Make sure there is a resolv.conf file present, such that | |
19 | # DNS lookups succeed. | |
20 | # | |
21 | echo " Creating resolv.conf" | |
22 | if [ ! -d "${prefix}/etc/" ]; then | |
23 | mkdir -p "${prefix}/etc/" | |
24 | fi | |
25 | cp /etc/resolv.conf "${prefix}/etc/" | |
26 | ||
27 | ||
28 | # | |
29 | # 2. Copy the cached .RPM files into the yum directory, so that | |
30 | # yum doesn't need to make them again. | |
31 | # | |
32 | echo " Setting up YUM cache" | |
33 | if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then | |
34 | mkdir -p ${prefix}/var/cache/yum/core/packages/ | |
35 | fi | |
36 | if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then | |
37 | mkdir -p ${prefix}/var/cache/yum/updates-released/packages/ | |
38 | fi | |
39 | ||
40 | for i in ${prefix}/*.rpm ; do | |
41 | cp $i ${prefix}/var/cache/yum/core/packages/ | |
42 | cp $i ${prefix}/var/cache/yum/updates-released/packages/ | |
43 | done | |
44 | ||
45 | ||
46 | ||
47 | # | |
48 | # 3. Ensure that Yum has a working configuration file. | |
49 | # | |
50 | arch=i386 | |
51 | if [ $ARCH = "amd64" ] ; then | |
52 | arch=x86_64 | |
53 | fi | |
54 | ||
55 | # A correct mirror URL does not contain /Packages on the end | |
56 | mirror=`dirname $mirror` | |
57 | ||
58 | echo " Creating initial yum.conf" | |
59 | cat > ${prefix}/etc/yum.conf <<EOF | |
60 | [main] | |
61 | reposdir=/dev/null | |
62 | logfile=/var/log/yum.log | |
63 | ||
64 | [core] | |
65 | name=core | |
66 | baseurl=$mirror | |
67 | EOF | |
68 | ||
69 | ||
70 | # | |
71 | # 4. Run "yum install yum". | |
72 | # | |
73 | echo " Mounting /proc" | |
74 | if [ ! -d "${prefix}/proc" ]; then | |
75 | mkdir -p "${prefix}/proc" | |
76 | fi | |
77 | mount -o bind /proc ${prefix}/proc | |
78 | ||
79 | echo " Priming the yum cache" | |
80 | if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then | |
81 | mkdir -p ${prefix}/var/cache/yum/core/packages | |
82 | fi | |
83 | cp /var/cache/rinse/fedora-13.$ARCH/* ${prefix}/var/cache/yum/core/packages/ | |
84 | ||
85 | echo " Bootstrapping yum" | |
86 | chroot ${prefix} /sbin/ldconfig | |
87 | chroot ${prefix} /sbin/MAKEDEV urandom | |
88 | chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null | |
89 | chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null | |
90 | chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null | |
91 | ||
92 | # Can use regular repositories now | |
93 | echo " Creating final yum.conf" | |
94 | cat > ${prefix}/etc/yum.conf <<EOF | |
95 | [main] | |
96 | logfile=/var/log/yum.log | |
97 | gpgcheck=1 | |
98 | ||
99 | # PUT YOUR REPOS HERE OR IN separate files named file.repo | |
100 | # in /etc/yum.repos.d | |
101 | EOF | |
102 | ||
103 | ||
104 | # | |
105 | # 5. Clean up | |
106 | # | |
107 | echo " Cleaning up" | |
108 | chroot ${prefix} /usr/bin/yum clean all | |
109 | ||
110 | umount ${prefix}/proc | |
111 | ||
112 | ||
113 | # | |
114 | # 6. Remove the .rpm files from the prefix root. | |
115 | # | |
116 | echo " Final tidy..." | |
117 | for i in ${prefix}/*.rpm; do | |
118 | rm -f $i | |
119 | done | |
120 | find ${prefix} -name '*.rpmorig' -delete | |
121 | find ${prefix} -name '*.rpmnew' -delete |
diff -ruN rinse-1.7.orig/scripts/fedora-14/post-install.sh rinse-1.7/scripts/fedora-14/post-install.sh
old | new | |
---|---|---|
1 | #!/bin/sh | |
2 | # | |
3 | # Customise the distribution post-install. | |
4 | # | |
5 | ||
6 | ||
7 | ||
8 | prefix=$1 | |
9 | ||
10 | if [ ! -d "${prefix}" ]; then | |
11 | echo "Serious error - the named directory doesn't exist." | |
12 | exit | |
13 | fi | |
14 | ||
15 | ||
16 | ||
17 | # | |
18 | # 1. Make sure there is a resolv.conf file present, such that | |
19 | # DNS lookups succeed. | |
20 | # | |
21 | echo " Creating resolv.conf" | |
22 | if [ ! -d "${prefix}/etc/" ]; then | |
23 | mkdir -p "${prefix}/etc/" | |
24 | fi | |
25 | cp /etc/resolv.conf "${prefix}/etc/" | |
26 | ||
27 | ||
28 | # | |
29 | # 2. Copy the cached .RPM files into the yum directory, so that | |
30 | # yum doesn't need to make them again. | |
31 | # | |
32 | echo " Setting up YUM cache" | |
33 | if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then | |
34 | mkdir -p ${prefix}/var/cache/yum/core/packages/ | |
35 | fi | |
36 | if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then | |
37 | mkdir -p ${prefix}/var/cache/yum/updates-released/packages/ | |
38 | fi | |
39 | ||
40 | for i in ${prefix}/*.rpm ; do | |
41 | cp $i ${prefix}/var/cache/yum/core/packages/ | |
42 | cp $i ${prefix}/var/cache/yum/updates-released/packages/ | |
43 | done | |
44 | ||
45 | ||
46 | ||
47 | # | |
48 | # 3. Ensure that Yum has a working configuration file. | |
49 | # | |
50 | arch=i386 | |
51 | if [ $ARCH = "amd64" ] ; then | |
52 | arch=x86_64 | |
53 | fi | |
54 | ||
55 | # A correct mirror URL does not contain /Packages on the end | |
56 | mirror=`dirname $mirror` | |
57 | ||
58 | echo " Creating initial yum.conf" | |
59 | cat > ${prefix}/etc/yum.conf <<EOF | |
60 | [main] | |
61 | reposdir=/dev/null | |
62 | logfile=/var/log/yum.log | |
63 | ||
64 | [core] | |
65 | name=core | |
66 | baseurl=$mirror | |
67 | EOF | |
68 | ||
69 | ||
70 | # | |
71 | # 4. Run "yum install yum". | |
72 | # | |
73 | echo " Mounting /proc" | |
74 | if [ ! -d "${prefix}/proc" ]; then | |
75 | mkdir -p "${prefix}/proc" | |
76 | fi | |
77 | mount -o bind /proc ${prefix}/proc | |
78 | ||
79 | echo " Priming the yum cache" | |
80 | if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then | |
81 | mkdir -p ${prefix}/var/cache/yum/core/packages | |
82 | fi | |
83 | cp /var/cache/rinse/fedora-14.$ARCH/* ${prefix}/var/cache/yum/core/packages/ | |
84 | ||
85 | echo " Bootstrapping yum" | |
86 | chroot ${prefix} /sbin/ldconfig | |
87 | chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null | |
88 | chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null | |
89 | chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null | |
90 | ||
91 | # Can use regular repositories now | |
92 | echo " Creating final yum.conf" | |
93 | cat > ${prefix}/etc/yum.conf <<EOF | |
94 | [main] | |
95 | logfile=/var/log/yum.log | |
96 | gpgcheck=1 | |
97 | ||
98 | # PUT YOUR REPOS HERE OR IN separate files named file.repo | |
99 | # in /etc/yum.repos.d | |
100 | EOF | |
101 | ||
102 | ||
103 | # | |
104 | # 5. Clean up | |
105 | # | |
106 | echo " Cleaning up" | |
107 | chroot ${prefix} /usr/bin/yum clean all | |
108 | ||
109 | umount ${prefix}/proc | |
110 | ||
111 | ||
112 | # | |
113 | # 6. Remove the .rpm files from the prefix root. | |
114 | # | |
115 | echo " Final tidy..." | |
116 | for i in ${prefix}/*.rpm; do | |
117 | rm -f $i | |
118 | done | |
119 | find ${prefix} -name '*.rpmorig' -delete | |
120 | find ${prefix} -name '*.rpmnew' -delete |
diff -ruN rinse-1.7.orig/scripts/fedora-7/post-install.sh rinse-1.7/scripts/fedora-7/post-install.sh
old | new | |
---|---|---|
1 | #!/bin/sh | |
2 | # | |
3 | # Customise the distribution post-install. | |
4 | # | |
5 | ||
6 | ||
7 | ||
8 | prefix=$1 | |
9 | ||
10 | if [ ! -d "${prefix}" ]; then | |
11 | echo "Serious error - the named directory doesn't exist." | |
12 | exit | |
13 | fi | |
14 | ||
15 | ||
16 | ||
17 | # | |
18 | # 1. Make sure there is a resolv.conf file present, such that | |
19 | # DNS lookups succeed. | |
20 | # | |
21 | echo " Creating resolv.conf" | |
22 | if [ ! -d "${prefix}/etc/" ]; then | |
23 | mkdir -p "${prefix}/etc/" | |
24 | fi | |
25 | cp /etc/resolv.conf "${prefix}/etc/" | |
26 | ||
27 | ||
28 | # | |
29 | # 2. Copy the cached .RPM files into the yum directory, so that | |
30 | # yum doesn't need to make them again. | |
31 | # | |
32 | echo " Setting up YUM cache" | |
33 | if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then | |
34 | mkdir -p ${prefix}/var/cache/yum/core/packages/ | |
35 | fi | |
36 | if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then | |
37 | mkdir -p ${prefix}/var/cache/yum/updates-released/packages/ | |
38 | fi | |
39 | ||
40 | for i in ${prefix}/*.rpm ; do | |
41 | cp $i ${prefix}/var/cache/yum/core/packages/ | |
42 | cp $i ${prefix}/var/cache/yum/updates-released/packages/ | |
43 | done | |
44 | ||
45 | ||
46 | ||
47 | # | |
48 | # 3. Ensure that Yum has a working configuration file. | |
49 | # | |
50 | arch=i386 | |
51 | if [ $ARCH = "amd64" ] ; then | |
52 | arch=x86_64 | |
53 | fi | |
54 | ||
55 | echo " Creating yum.conf" | |
56 | cat > ${prefix}/etc/yum.conf <<EOF | |
57 | [main] | |
58 | cachedir=/var/cache/yum | |
59 | debuglevel=1 | |
60 | reposdir=/dev/null | |
61 | logfile=/var/log/yum.log | |
62 | retries=20 | |
63 | obsoletes=1 | |
64 | gpgcheck=0 | |
65 | assumeyes=1 | |
66 | ||
67 | # repos | |
68 | ||
69 | [core] | |
70 | name=core | |
71 | baseurl=$mirror | |
72 | ||
73 | [updates-released] | |
74 | name=updates | |
75 | baseurl=$mirror | |
76 | EOF | |
77 | ||
78 | ||
79 | # | |
80 | # 4. Run "yum install yum". | |
81 | # | |
82 | echo " Mounting /proc" | |
83 | if [ ! -d "${prefix}/proc" ]; then | |
84 | mkdir -p "${prefix}/proc" | |
85 | fi | |
86 | mount -o bind /proc ${prefix}/proc | |
87 | ||
88 | echo " Bootstrapping yum" | |
89 | chroot ${prefix} /sbin/ldconfig | |
90 | chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null | |
91 | chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null | |
92 | chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null | |
93 | ||
94 | ||
95 | # | |
96 | # 5. Clean up | |
97 | # | |
98 | echo " Cleaning up" | |
99 | chroot ${prefix} /usr/bin/yum clean all | |
100 | ||
101 | umount ${prefix}/proc | |
102 | ||
103 | ||
104 | # | |
105 | # 6. Remove the .rpm files from the prefix root. | |
106 | # | |
107 | echo " Final tidy..." | |
108 | for i in ${prefix}/*.rpm; do | |
109 | rm -f $i | |
110 | done | |
111 | find ${prefix} -name '*.rpmorig' -delete | |
112 | find ${prefix} -name '*.rpmnew' -delete |
diff -ruN rinse-1.7.orig/scripts/fedora-8/post-install.sh rinse-1.7/scripts/fedora-8/post-install.sh
old | new | |
---|---|---|
1 | #!/bin/sh | |
2 | # | |
3 | # Customise the distribution post-install. | |
4 | # | |
5 | ||
6 | ||
7 | ||
8 | prefix=$1 | |
9 | ||
10 | if [ ! -d "${prefix}" ]; then | |
11 | echo "Serious error - the named directory doesn't exist." | |
12 | exit | |
13 | fi | |
14 | ||
15 | ||
16 | ||
17 | # | |
18 | # 1. Make sure there is a resolv.conf file present, such that | |
19 | # DNS lookups succeed. | |
20 | # | |
21 | echo " Creating resolv.conf" | |
22 | if [ ! -d "${prefix}/etc/" ]; then | |
23 | mkdir -p "${prefix}/etc/" | |
24 | fi | |
25 | cp /etc/resolv.conf "${prefix}/etc/" | |
26 | ||
27 | ||
28 | # | |
29 | # 2. Copy the cached .RPM files into the yum directory, so that | |
30 | # yum doesn't need to make them again. | |
31 | # | |
32 | echo " Setting up YUM cache" | |
33 | if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then | |
34 | mkdir -p ${prefix}/var/cache/yum/core/packages/ | |
35 | fi | |
36 | if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then | |
37 | mkdir -p ${prefix}/var/cache/yum/updates-released/packages/ | |
38 | fi | |
39 | ||
40 | for i in ${prefix}/*.rpm ; do | |
41 | cp $i ${prefix}/var/cache/yum/core/packages/ | |
42 | cp $i ${prefix}/var/cache/yum/updates-released/packages/ | |
43 | done | |
44 | ||
45 | ||
46 | ||
47 | # | |
48 | # 3. Ensure that Yum has a working configuration file. | |
49 | # | |
50 | arch=i386 | |
51 | if [ $ARCH = "amd64" ] ; then | |
52 | arch=x86_64 | |
53 | fi | |
54 | ||
55 | echo " Creating yum.conf" | |
56 | cat > ${prefix}/etc/yum.conf <<EOF | |
57 | [main] | |
58 | cachedir=/var/cache/yum | |
59 | debuglevel=1 | |
60 | reposdir=/dev/null | |
61 | logfile=/var/log/yum.log | |
62 | retries=20 | |
63 | obsoletes=1 | |
64 | gpgcheck=0 | |
65 | assumeyes=1 | |
66 | ||
67 | # repos | |
68 | ||
69 | [core] | |
70 | name=core | |
71 | baseurl=$mirror | |
72 | ||
73 | [updates-released] | |
74 | name=updates | |
75 | baseurl=$mirror | |
76 | EOF | |
77 | ||
78 | ||
79 | # | |
80 | # 4. Run "yum install yum". | |
81 | # | |
82 | echo " Mounting /proc" | |
83 | if [ ! -d "${prefix}/proc" ]; then | |
84 | mkdir -p "${prefix}/proc" | |
85 | fi | |
86 | mount -o bind /proc ${prefix}/proc | |
87 | ||
88 | echo " Priming the yum cache" | |
89 | if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then | |
90 | mkdir -p ${prefix}/var/cache/yum/core/packages | |
91 | fi | |
92 | cp /var/cache/rinse/fedora-8.$ARCH/* ${prefix}/var/cache/yum/core/packages/ | |
93 | ||
94 | echo " Bootstrapping yum" | |
95 | chroot ${prefix} /sbin/ldconfig | |
96 | chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null | |
97 | chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null | |
98 | chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null | |
99 | ||
100 | ||
101 | # | |
102 | # 5. Clean up | |
103 | # | |
104 | echo " Cleaning up" | |
105 | chroot ${prefix} /usr/bin/yum clean all | |
106 | ||
107 | umount ${prefix}/proc | |
108 | ||
109 | ||
110 | # | |
111 | # 6. Remove the .rpm files from the prefix root. | |
112 | # | |
113 | echo " Final tidy..." | |
114 | for i in ${prefix}/*.rpm; do | |
115 | rm -f $i | |
116 | done | |
117 | find ${prefix} -name '*.rpmorig' -delete | |
118 | find ${prefix} -name '*.rpmnew' -delete |
diff -ruN rinse-1.7.orig/scripts/fedora-9/post-install.sh rinse-1.7/scripts/fedora-9/post-install.sh
old | new | |
---|---|---|
1 | #!/bin/sh | |
2 | # | |
3 | # Customise the distribution post-install. | |
4 | # | |
5 | ||
6 | ||
7 | ||
8 | prefix=$1 | |
9 | ||
10 | if [ ! -d "${prefix}" ]; then | |
11 | echo "Serious error - the named directory doesn't exist." | |
12 | exit | |
13 | fi | |
14 | ||
15 | ||
16 | ||
17 | # | |
18 | # 1. Make sure there is a resolv.conf file present, such that | |
19 | # DNS lookups succeed. | |
20 | # | |
21 | echo " Creating resolv.conf" | |
22 | if [ ! -d "${prefix}/etc/" ]; then | |
23 | mkdir -p "${prefix}/etc/" | |
24 | fi | |
25 | cp /etc/resolv.conf "${prefix}/etc/" | |
26 | ||
27 | ||
28 | # | |
29 | # 2. Copy the cached .RPM files into the yum directory, so that | |
30 | # yum doesn't need to make them again. | |
31 | # | |
32 | echo " Setting up YUM cache" | |
33 | if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then | |
34 | mkdir -p ${prefix}/var/cache/yum/core/packages/ | |
35 | fi | |
36 | if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then | |
37 | mkdir -p ${prefix}/var/cache/yum/updates-released/packages/ | |
38 | fi | |
39 | ||
40 | for i in ${prefix}/*.rpm ; do | |
41 | cp $i ${prefix}/var/cache/yum/core/packages/ | |
42 | cp $i ${prefix}/var/cache/yum/updates-released/packages/ | |
43 | done | |
44 | ||
45 | ||
46 | ||
47 | # | |
48 | # 3. Ensure that Yum has a working configuration file. | |
49 | # | |
50 | arch=i386 | |
51 | if [ $ARCH = "amd64" ] ; then | |
52 | arch=x86_64 | |
53 | fi | |
54 | ||
55 | echo " Creating yum.conf" | |
56 | cat > ${prefix}/etc/yum.conf <<EOF | |
57 | [main] | |
58 | cachedir=/var/cache/yum | |
59 | debuglevel=1 | |
60 | reposdir=/dev/null | |
61 | logfile=/var/log/yum.log | |
62 | retries=20 | |
63 | obsoletes=1 | |
64 | gpgcheck=0 | |
65 | assumeyes=1 | |
66 | ||
67 | # repos | |
68 | ||
69 | [core] | |
70 | name=core | |
71 | baseurl=$mirror | |
72 | ||
73 | EOF | |
74 | ||
75 | ||
76 | # | |
77 | # 4. Run "yum install yum". | |
78 | # | |
79 | echo " Mounting /proc" | |
80 | if [ ! -d "${prefix}/proc" ]; then | |
81 | mkdir -p "${prefix}/proc" | |
82 | fi | |
83 | mount -o bind /proc ${prefix}/proc | |
84 | ||
85 | echo " Priming the yum cache" | |
86 | if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then | |
87 | mkdir -p ${prefix}/var/cache/yum/core/packages | |
88 | fi | |
89 | cp /var/cache/rinse/fedora-9.$ARCH/* ${prefix}/var/cache/yum/core/packages/ | |
90 | ||
91 | echo " Bootstrapping yum" | |
92 | chroot ${prefix} /sbin/ldconfig | |
93 | chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null | |
94 | chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null | |
95 | chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null | |
96 | ||
97 | ||
98 | # | |
99 | # 5. Clean up | |
100 | # | |
101 | echo " Cleaning up" | |
102 | chroot ${prefix} /usr/bin/yum clean all | |
103 | ||
104 | umount ${prefix}/proc | |
105 | ||
106 | ||
107 | # | |
108 | # 6. Remove the .rpm files from the prefix root. | |
109 | # | |
110 | echo " Final tidy..." | |
111 | for i in ${prefix}/*.rpm; do | |
112 | rm -f $i | |
113 | done | |
114 | find ${prefix} -name '*.rpmorig' -delete | |
115 | find ${prefix} -name '*.rpmnew' -delete |
diff -ruN rinse-1.7.orig/scripts/fedora-core-10/post-install.sh rinse-1.7/scripts/fedora-core-10/post-install.sh
old | new | |
---|---|---|
1 | ||
2 | ||
3 | ||
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | ||
22 | ||
23 | ||
24 | ||
25 | ||
26 | ||
27 | ||
28 | ||
29 | ||
30 | ||
31 | ||
32 | ||
33 | ||
34 | ||
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ||
71 | ||
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | ||
106 | ||
107 | ||
108 | ||
109 | ||
110 | ||
111 | ||
112 | ||
113 | ||
114 | ||
115 |
diff -ruN rinse-1.7.orig/scripts/fedora-core-7/post-install.sh rinse-1.7/scripts/fedora-core-7/post-install.sh
old | new | |
---|---|---|
1 | ||
2 | ||
3 | ||
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | ||
22 | ||
23 | ||
24 | ||
25 | ||
26 | ||
27 | ||
28 | ||
29 | ||
30 | ||
31 | ||
32 | ||
33 | ||
34 | ||
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ||
71 | ||
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | ||
106 | ||
107 | ||
108 | ||
109 | ||
110 | ||
111 | ||
112 |
diff -ruN rinse-1.7.orig/scripts/fedora-core-8/post-install.sh rinse-1.7/scripts/fedora-core-8/post-install.sh
old | new | |
---|---|---|
1 | ||
2 | ||
3 | ||
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | ||
22 | ||
23 | ||
24 | ||
25 | ||
26 | ||
27 | ||
28 | ||
29 | ||
30 | ||
31 | ||
32 | ||
33 | ||
34 | ||
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ||
71 | ||
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | ||
106 | ||
107 | ||
108 | ||
109 | ||
110 | ||
111 | ||
112 | ||
113 | ||
114 | ||
115 | ||
116 | ||
117 | ||
118 |
diff -ruN rinse-1.7.orig/scripts/fedora-core-9/post-install.sh rinse-1.7/scripts/fedora-core-9/post-install.sh
old | new | |
---|---|---|
1 | ||
2 | ||
3 | ||
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | ||
22 | ||
23 | ||
24 | ||
25 | ||
26 | ||
27 | ||
28 | ||
29 | ||
30 | ||
31 | ||
32 | ||
33 | ||
34 | ||
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ||
71 | ||
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | ||
106 | ||
107 | ||
108 | ||
109 | ||
110 | ||
111 | ||
112 | ||
113 | ||
114 | ||
115 |
diff -ruN rinse-1.7.orig/scripts/opensuse-11.1/post-install.sh rinse-1.7/scripts/opensuse-11.1/post-install.sh
old | new | |
---|---|---|
59 | 59 | |
60 | 60 | EOF |
61 | 61 | |
62 | if [ $ARCH = "i386" ] ; then | |
63 | echo " Setting architecture to i686" | |
64 | sed -i 's/\(# \)\?arch = .*/arch = i686/' ${prefix}/etc/zypp/zypp.conf | |
65 | fi | |
66 | ||
62 | 67 | |
63 | 68 | # |
64 | 69 | # 4. Run "zypper install zypper". |
… | … | |
73 | 78 | chroot ${prefix} /sbin/ldconfig |
74 | 79 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install zypper 2>/dev/null |
75 | 80 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install vim-minimal 2>/dev/null |
76 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install |
|
81 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install e2fsprogs 2>/dev/null | |
77 | 82 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks update 2>/dev/null |
78 | 83 | |
79 | 84 | |
… | … | |
82 | 87 | # |
83 | 88 | echo " Cleaning up" |
84 | 89 | chroot ${prefix} /usr/bin/zypper clean |
85 | ||
86 | 90 | umount ${prefix}/proc |
87 | 91 | |
92 | echo " Ending uuidd" | |
93 | pkill uuidd | |
88 | 94 | |
89 | 95 | # |
90 | 96 | # 6. Remove the .rpm files from the prefix root. |
diff -ruN rinse-1.7.orig/scripts/opensuse-11.2/post-install.sh rinse-1.7/scripts/opensuse-11.2/post-install.sh
old | new | |
---|---|---|
1 | #!/bin/sh | |
2 | # | |
3 | # Customise the distribution post-install. | |
4 | # | |
5 | ||
6 | prefix=$1 | |
7 | ||
8 | if [ ! -d "${prefix}" ]; then | |
9 | echo "Serious error - the named directory doesn't exist." | |
10 | exit | |
11 | fi | |
12 | ||
13 | ||
14 | # There's no pre-existing /dev/zero nor is there one from the packages that are already unpacked. | |
15 | echo " Creating devices in /dev" | |
16 | if ! [ -e "${prefix}/dev/zero" ]; then | |
17 | mknod -m 666 "${prefix}/dev/zero" c 1 5 | |
18 | fi | |
19 | ||
20 | # | |
21 | # 1. Make sure there is a resolv.conf file present, such that | |
22 | # DNS lookups succeed. | |
23 | # | |
24 | echo " Creating resolv.conf" | |
25 | if [ ! -d "${prefix}/etc/" ]; then | |
26 | mkdir -p "${prefix}/etc/" | |
27 | fi | |
28 | cp /etc/resolv.conf "${prefix}/etc/" | |
29 | ||
30 | ||
31 | # | |
32 | # 2. Copy the cached .RPM files into the zypper directory, so that | |
33 | # zypper doesn't need to fetch them again. | |
34 | # | |
35 | echo " Setting up zypper cache" | |
36 | ||
37 | if [ ! -d "${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}" ]; then | |
38 | mkdir -p ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch} | |
39 | fi | |
40 | cp ${cache_dir}/${dist}.${ARCH}/* ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch} | |
41 | ||
42 | ||
43 | # | |
44 | # 3. Ensure that zypper has a working configuration file. | |
45 | # | |
46 | arch=i386 | |
47 | if [ $ARCH = "amd64" ] ; then | |
48 | arch=x86_64 | |
49 | fi | |
50 | ||
51 | echo " Creating zypper repo entry" | |
52 | [ -d "${prefix}/etc/zypp/repos.d" ] || mkdir -p ${prefix}/etc/zypp/repos.d | |
53 | cat > ${prefix}/etc/zypp/repos.d/${dist}.repo <<EOF | |
54 | [opensuse] | |
55 | name=${dist} | |
56 | baseurl=$(dirname $(dirname ${mirror})) | |
57 | enabled=1 | |
58 | gpgcheck=1 | |
59 | ||
60 | EOF | |
61 | ||
62 | if [ $ARCH = "i386" ] ; then | |
63 | echo " Setting architecture to i686" | |
64 | sed -i 's/\(# \)\?arch = .*/arch = i686/' ${prefix}/etc/zypp/zypp.conf | |
65 | fi | |
66 | ||
67 | ||
68 | # | |
69 | # 4. Run "zypper install zypper". | |
70 | # | |
71 | echo " Mounting /proc" | |
72 | if [ ! -d "${prefix}/proc" ]; then | |
73 | mkdir -p "${prefix}/proc" | |
74 | fi | |
75 | mount -o bind /proc ${prefix}/proc | |
76 | ||
77 | echo " Bootstrapping zypper" | |
78 | chroot ${prefix} /sbin/ldconfig | |
79 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install zypper 2>/dev/null | |
80 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install vim-minimal 2>/dev/null | |
81 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install e2fsprogs 2>/dev/null | |
82 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install syslog-ng 2>/dev/null | |
83 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks update 2>/dev/null | |
84 | ||
85 | ||
86 | # | |
87 | # 5. Clean up | |
88 | # | |
89 | echo " Cleaning up" | |
90 | chroot ${prefix} /usr/bin/zypper clean | |
91 | umount ${prefix}/proc | |
92 | ||
93 | echo " Ending uuidd" | |
94 | pkill uuidd | |
95 | ||
96 | # | |
97 | # 6. Remove the .rpm files from the prefix root. | |
98 | # | |
99 | echo " Final tidy..." | |
100 | for i in ${prefix}/*.rpm; do | |
101 | rm -f $i | |
102 | done | |
103 | find ${prefix} -name '*.rpmorig' -delete | |
104 | find ${prefix} -name '*.rpmnew' -delete |
diff -ruN rinse-1.7.orig/scripts/opensuse-11.3/post-install.sh rinse-1.7/scripts/opensuse-11.3/post-install.sh
old | new | |
---|---|---|
1 | #!/bin/sh | |
2 | # | |
3 | # Customise the distribution post-install. | |
4 | # | |
5 | ||
6 | prefix=$1 | |
7 | ||
8 | if [ ! -d "${prefix}" ]; then | |
9 | echo "Serious error - the named directory doesn't exist." | |
10 | exit | |
11 | fi | |
12 | ||
13 | ||
14 | # There's no pre-existing /dev/zero nor is there one from the packages that are already unpacked. | |
15 | echo " Creating devices in /dev" | |
16 | if ! [ -e "${prefix}/dev/zero" ]; then | |
17 | mknod -m 666 "${prefix}/dev/zero" c 1 5 | |
18 | fi | |
19 | ||
20 | # | |
21 | # 1. Make sure there is a resolv.conf file present, such that | |
22 | # DNS lookups succeed. | |
23 | # | |
24 | echo " Creating resolv.conf" | |
25 | if [ ! -d "${prefix}/etc/" ]; then | |
26 | mkdir -p "${prefix}/etc/" | |
27 | fi | |
28 | cp /etc/resolv.conf "${prefix}/etc/" | |
29 | ||
30 | ||
31 | # | |
32 | # 2. Copy the cached .RPM files into the zypper directory, so that | |
33 | # zypper doesn't need to fetch them again. | |
34 | # | |
35 | echo " Setting up zypper cache" | |
36 | ||
37 | if [ ! -d "${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}" ]; then | |
38 | mkdir -p ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch} | |
39 | fi | |
40 | cp ${cache_dir}/${dist}.${ARCH}/* ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch} | |
41 | ||
42 | ||
43 | # | |
44 | # 3. Ensure that zypper has a working configuration file. | |
45 | # | |
46 | arch=i386 | |
47 | if [ $ARCH = "amd64" ] ; then | |
48 | arch=x86_64 | |
49 | fi | |
50 | ||
51 | echo " Creating zypper repo entry" | |
52 | [ -d "${prefix}/etc/zypp/repos.d" ] || mkdir -p ${prefix}/etc/zypp/repos.d | |
53 | cat > ${prefix}/etc/zypp/repos.d/${dist}.repo <<EOF | |
54 | [opensuse] | |
55 | name=${dist} | |
56 | baseurl=$(dirname $(dirname ${mirror})) | |
57 | enabled=1 | |
58 | gpgcheck=1 | |
59 | ||
60 | EOF | |
61 | ||
62 | if [ $ARCH = "i386" ] ; then | |
63 | echo " Setting architecture to i686" | |
64 | sed -i 's/\(# \)\?arch = .*/arch = i686/' ${prefix}/etc/zypp/zypp.conf | |
65 | fi | |
66 | ||
67 | ||
68 | # | |
69 | # 4. Run "zypper install zypper". | |
70 | # | |
71 | echo " Mounting /proc" | |
72 | if [ ! -d "${prefix}/proc" ]; then | |
73 | mkdir -p "${prefix}/proc" | |
74 | fi | |
75 | mount -o bind /proc ${prefix}/proc | |
76 | ||
77 | echo " Bootstrapping zypper" | |
78 | chroot ${prefix} /sbin/ldconfig | |
79 | ||
80 | # Need key trusted to prevent warnings during package install | |
81 | chroot ${prefix} /usr/bin/zypper -n --gpg-auto-import-keys refresh --force-download | |
82 | ||
83 | # Need these two to be properly installed to prevent numerous errors during installation of other packages | |
84 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install PolicyKit permissions 2>/dev/null | |
85 | ||
86 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install zypper 2>/dev/null | |
87 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install vim-minimal 2>/dev/null | |
88 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install e2fsprogs 2>/dev/null | |
89 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install syslog-ng 2>/dev/null | |
90 | chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks update 2>/dev/null | |
91 | ||
92 | ||
93 | # | |
94 | # 5. Clean up | |
95 | # | |
96 | echo " Cleaning up" | |
97 | chroot ${prefix} /usr/bin/zypper clean | |
98 | umount ${prefix}/proc | |
99 | ||
100 | echo " Ending uuidd" | |
101 | pkill uuidd | |
102 | ||
103 | # | |
104 | # 6. Remove the .rpm files from the prefix root. | |
105 | # | |
106 | echo " Final tidy..." | |
107 | for i in ${prefix}/*.rpm; do | |
108 | rm -f $i | |
109 | done | |
110 | find ${prefix} -name '*.rpmorig' -delete | |
111 | find ${prefix} -name '*.rpmnew' -delete |