# TODO
# - kill /mnt/runtime symlink hacks (leave the host alone!)
+# - 01:20:59 ERROR : lokkit run failed: /usr/sbin/lokkit can not be run
+# - lrwxrwxrwx 1 root root 11 Aug 31 04:21 menu.lst -> ./grub.conf (DEAD LINK)
+# -rw-r--r-- 1 root root 551 Aug 31 04:21 menu.lst.rpmsave
+# - can't find font latcyrheb
+# LANG="en_US.UTF-8"
+# SYSFONT="latarcyrheb-sun16"
+# - sysconfig/timezone
+# - yuminstaller downloads all packages twice
+# 1156976072.958 317 192.168.2.3 TCP_MISS/200 209182 GET http://distrib/pld/dists/ac/PLD/i686/PLD/RPMS/sed-4.1.5-2.i686.rpm - DIRECT/x.x.x.x application/x-rpm
+# 1156976073.808 701 192.168.2.3 TCP_HIT/200 209188 GET http://distrib/pld/dists/ac/PLD/i686/PLD/RPMS/sed-4.1.5-2.i686.rpm - NONE/- application/x-rpm
+# - network config files are not pld-style
+# - lvm2-initrd should be installed
+# - /etc/fstab
+# - /etc/modprobe.conf for geninitrd
+# - gui installer packages selector:
+#Traceback (most recent call last):
+# File "/home/glen/tmp/anaconda-11.0.5-root-glen//usr/lib/anaconda/gui.py", line 954, in nextClicked
+# File "/home/glen/tmp/anaconda-11.0.5-root-glen//usr/lib/anaconda/gui.py", line 1313, in setScreen
+# File "/home/glen/tmp/anaconda-11.0.5-root-glen//usr/lib/anaconda/iw/package_gui.py", line 29, in getScreen
+# File "/usr/share/python2.4/site-packages/pirut/GroupSelector.py", line 410, in doRefresh
+# File "/usr/share/python2.4/site-packages/pirut/GroupSelector.py", line 407, in populateCategories
+#TypeError: iter should be a GtkTreeIter
+# - definition of anaconda pixmaps: http://www.raimokoski.com/lineox/Distro-definition-dir.txt
#
%if 0
# FC to PLD deps replace rules, extracted from cvs logs
Summary(pl): Graficzny instalator systemu
Name: anaconda
Version: 11.0.5
-Release: 0.87
+Release: 0.95
License: GPL
Group: Applications/System
Source0: %{name}-%{version}.tar.bz2
Requires: python-gnome-canvas
Requires: system-config-date
Requires: system-config-keyboard
-#Requires: system-logos
+Requires: system-logos
Requires: vnc-utils
%ifnarch s390 s390x ppc64
Requires: python-rhpxl >= 0.18-0.9
%build
# locale check
if [ "$(locale -a | grep -c en_US.utf8)" = 0 ]; then
- echo >&2 "en_US.utf8 locale not available. build will fail!"
- echo >&2 "Install glibc-localedb-all or compile it!"
+ : "en_US.utf8 locale not available. build will fail!"
+ : "Install glibc-localedb-all or compile it!"
exit 1
fi
cp %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/scrubtree
cp %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/anaconda/splash.png
+# for ./isys/lang.c:isysLoadKeymap()
+%ifarch %{ix86}
+cp -a loader2/keymaps-i386 $RPM_BUILD_ROOT%{_sysconfdir}/keymaps.gz
+%endif
+%ifarch ppc
+cp -a loader2/keymaps-ppc $RPM_BUILD_ROOT%{_sysconfdir}/keymaps.gz
+%endif
+%ifarch %{x8664}
+cp -a loader2/keymaps-x86_64 $RPM_BUILD_ROOT%{_sysconfdir}/keymaps.gz
+%endif
+
%find_lang %{name}
# hack so py_postclean would preserve it
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc docs/*
+%{_sysconfdir}/keymaps.gz
%attr(755,root,root) %{_sbindir}/anaconda
%dir %{_libdir}/anaconda
%{_libdir}/anaconda/*.py[co]