|
@@ -712,7 +712,7 @@ RPM_Remove(){
|
|
mount-chroot /proc
|
|
mount-chroot /proc
|
|
mount-chroot /dev/pts
|
|
mount-chroot /dev/pts
|
|
mount-chroot /dev/shm
|
|
mount-chroot /dev/shm
|
|
- apt-get-update --chroot
|
|
+ # apt-get-update --chroot
|
|
|
|
|
|
[ -f $RPM_PKG ] && \
|
|
[ -f $RPM_PKG ] && \
|
|
echo $"E: $RPM_PKG is not a package name" && return 1
|
|
echo $"E: $RPM_PKG is not a package name" && return 1
|
|
@@ -723,7 +723,7 @@ RPM_Remove(){
|
|
mount-chroot --umount /proc
|
|
mount-chroot --umount /proc
|
|
mount-chroot --umount archives_dir
|
|
mount-chroot --umount archives_dir
|
|
mount-chroot --umount unionfs_dir
|
|
mount-chroot --umount unionfs_dir
|
|
- apt-get-update --host
|
|
+ # apt-get-update --host
|
|
|
|
|
|
return 0
|
|
return 0
|
|
}
|
|
}
|
|
@@ -735,7 +735,6 @@ RPM_Install(){
|
|
mount-chroot /proc
|
|
mount-chroot /proc
|
|
mount-chroot /dev/pts
|
|
mount-chroot /dev/pts
|
|
mount-chroot /dev/shm
|
|
mount-chroot /dev/shm
|
|
-
|
|
|
|
apt-get-update --chroot
|
|
apt-get-update --chroot
|
|
|
|
|
|
[ $with_category_nonfree -eq 1 ] && \
|
|
[ $with_category_nonfree -eq 1 ] && \
|
|
@@ -878,7 +877,7 @@ Login_Chroot(){
|
|
mount-chroot /dev/shm
|
|
mount-chroot /dev/shm
|
|
mount-chroot /tmp
|
|
mount-chroot /tmp
|
|
# mount-chroot /home
|
|
# mount-chroot /home
|
|
- apt-get-update --chroot
|
|
+ # apt-get-update --chroot
|
|
|
|
|
|
## copy host's configurations of /etc
|
|
## copy host's configurations of /etc
|
|
#passwd shadow group gshadow
|
|
#passwd shadow group gshadow
|
|
@@ -896,7 +895,7 @@ Login_Chroot(){
|
|
mount-chroot --umount /proc
|
|
mount-chroot --umount /proc
|
|
mount-chroot --umount archives_dir
|
|
mount-chroot --umount archives_dir
|
|
mount-chroot --umount unionfs_dir
|
|
mount-chroot --umount unionfs_dir
|
|
- apt-get-update --host
|
|
+ # apt-get-update --host
|
|
|
|
|
|
return 0
|
|
return 0
|
|
}
|
|
}
|