Commit 5796d137c2df35b1db8adbe74809f17d8de070fd
1 parent
407165fffb
Exists in
master
Fixes for rpm database problem when doing cross x86/x86_64 installations
Fixes: error: db4 error(-30986) from dbcursor->get: DB_PAGE_NOTFOUND: Requested page not found
Showing 5 changed files with 21 additions and 1 deletions Side-by-side Diff
platforms/livecd-gnome-root/post.inc.sh
... | ... | @@ -41,6 +41,11 @@ |
41 | 41 | echo $timezone > $MOUNTDIR/etc/timezone |
42 | 42 | cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime |
43 | 43 | |
44 | +# clean rpm database before doing other operations with internal rpm | |
45 | +# to fix cross x86/x86_64 installation error: | |
46 | +# error: db4 error(-30986) from dbcursor->get: DB_PAGE_NOTFOUND: Requested page not found | |
47 | +clean_rpm_database | |
48 | + | |
44 | 49 | # pre-create video drivers for VirtualBox |
45 | 50 | virtualbox_ver=`ls -d $MOUNTDIR/usr/src/vboxvideo-* | sed "s|.*-||"` |
46 | 51 | for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do |
platforms/livecd-light-root/post.inc.sh
... | ... | @@ -30,6 +30,11 @@ |
30 | 30 | echo $timezone > $MOUNTDIR/etc/timezone |
31 | 31 | cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime |
32 | 32 | |
33 | +# clean rpm database before doing other operations with internal rpm | |
34 | +# to fix cross x86/x86_64 installation error: | |
35 | +# error: db4 error(-30986) from dbcursor->get: DB_PAGE_NOTFOUND: Requested page not found | |
36 | +clean_rpm_database | |
37 | + | |
33 | 38 | # pre-create video drivers for VirtualBox |
34 | 39 | virtualbox_ver=`ls -d $MOUNTDIR/usr/src/vboxvideo-* | sed "s|.*-||"` |
35 | 40 | for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do |
platforms/livecd-root/post.inc.sh
... | ... | @@ -42,6 +42,11 @@ |
42 | 42 | chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f || exit 1 |
43 | 43 | done |
44 | 44 | |
45 | +# clean rpm database before doing other operations with internal rpm | |
46 | +# to fix cross x86/x86_64 installation error: | |
47 | +# error: db4 error(-30986) from dbcursor->get: DB_PAGE_NOTFOUND: Requested page not found | |
48 | +clean_rpm_database | |
49 | + | |
45 | 50 | # pre-create video drivers for VirtualBox |
46 | 51 | virtualbox_ver=`ls -d $MOUNTDIR/usr/src/vboxvideo-* | sed "s|.*-||"` |
47 | 52 | for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do |
platforms/livecd/post.inc.sh
... | ... | @@ -103,7 +103,7 @@ |
103 | 103 | exit 1; } |
104 | 104 | |
105 | 105 | # copy syslinux addons to final root /boot dir |
106 | -cp $MOUNTDIR/usr/share/syslinux/{ldlinux,libcom32,libutil,vesamenu}.c32 $MOUNTDIR2/boot/isolinux/ | |
106 | +cp $MOUNTDIR/usr/share/syslinux/vesamenu.c32 $MOUNTDIR2/boot/isolinux/ | |
107 | 107 | |
108 | 108 | # install memtest |
109 | 109 | [ -e $MOUNTDIR/boot/memtest.bin ] && cp $MOUNTDIR/boot/memtest.bin $MOUNTDIR2/boot/isolinux/memtest || |
platforms/livedvd-root/post.inc.sh
... | ... | @@ -42,6 +42,11 @@ |
42 | 42 | chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f |
43 | 43 | done |
44 | 44 | |
45 | +# clean rpm database before doing other operations with internal rpm | |
46 | +# to fix cross x86/x86_64 installation error: | |
47 | +# error: db4 error(-30986) from dbcursor->get: DB_PAGE_NOTFOUND: Requested page not found | |
48 | +clean_rpm_database | |
49 | + | |
45 | 50 | virtualbox_ver=`ls -d $MOUNTDIR/usr/src/vboxvideo-* | sed "s|.*-||"` |
46 | 51 | for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do |
47 | 52 | # pre-create video drivers for VirtualBox |