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
This commit is contained in:
parent
407165fffb
commit
5796d137c2
@ -41,6 +41,11 @@ esac
|
||||
echo $timezone > $MOUNTDIR/etc/timezone
|
||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||
|
||||
# clean rpm database before doing other operations with internal rpm
|
||||
# to fix cross x86/x86_64 installation error:
|
||||
# error: db4 error(-30986) from dbcursor->get: DB_PAGE_NOTFOUND: Requested page not found
|
||||
clean_rpm_database
|
||||
|
||||
# pre-create video drivers for VirtualBox
|
||||
virtualbox_ver=`ls -d $MOUNTDIR/usr/src/vboxvideo-* | sed "s|.*-||"`
|
||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
|
@ -30,6 +30,11 @@ esac
|
||||
echo $timezone > $MOUNTDIR/etc/timezone
|
||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||
|
||||
# clean rpm database before doing other operations with internal rpm
|
||||
# to fix cross x86/x86_64 installation error:
|
||||
# error: db4 error(-30986) from dbcursor->get: DB_PAGE_NOTFOUND: Requested page not found
|
||||
clean_rpm_database
|
||||
|
||||
# pre-create video drivers for VirtualBox
|
||||
virtualbox_ver=`ls -d $MOUNTDIR/usr/src/vboxvideo-* | sed "s|.*-||"`
|
||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
|
@ -42,6 +42,11 @@ for f in /usr/share/applications/chromium-devel.desktop; do
|
||||
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f || exit 1
|
||||
done
|
||||
|
||||
# clean rpm database before doing other operations with internal rpm
|
||||
# to fix cross x86/x86_64 installation error:
|
||||
# error: db4 error(-30986) from dbcursor->get: DB_PAGE_NOTFOUND: Requested page not found
|
||||
clean_rpm_database
|
||||
|
||||
# pre-create video drivers for VirtualBox
|
||||
virtualbox_ver=`ls -d $MOUNTDIR/usr/src/vboxvideo-* | sed "s|.*-||"`
|
||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
|
@ -103,7 +103,7 @@ _EOF
|
||||
exit 1; }
|
||||
|
||||
# copy syslinux addons to final root /boot dir
|
||||
cp $MOUNTDIR/usr/share/syslinux/{ldlinux,libcom32,libutil,vesamenu}.c32 $MOUNTDIR2/boot/isolinux/
|
||||
cp $MOUNTDIR/usr/share/syslinux/vesamenu.c32 $MOUNTDIR2/boot/isolinux/
|
||||
|
||||
# install memtest
|
||||
[ -e $MOUNTDIR/boot/memtest.bin ] && cp $MOUNTDIR/boot/memtest.bin $MOUNTDIR2/boot/isolinux/memtest ||
|
||||
|
@ -42,6 +42,11 @@ for f in /usr/share/applications/chromium-devel.desktop /opt/kde/share/applicati
|
||||
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f
|
||||
done
|
||||
|
||||
# clean rpm database before doing other operations with internal rpm
|
||||
# to fix cross x86/x86_64 installation error:
|
||||
# error: db4 error(-30986) from dbcursor->get: DB_PAGE_NOTFOUND: Requested page not found
|
||||
clean_rpm_database
|
||||
|
||||
virtualbox_ver=`ls -d $MOUNTDIR/usr/src/vboxvideo-* | sed "s|.*-||"`
|
||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
# pre-create video drivers for VirtualBox
|
||||
|
Loading…
Reference in New Issue
Block a user