View Single Post
eight's Avatar
Posts: 106 | Thanked: 81 times | Joined on Dec 2011 @ /
#981
Don't mention it, just came around.

I'm trying to get rid of the error messages about the failed copy of the not anymore needed libacl.so.1 and libattr.so.1.1.0

The 2 copy commands are called from filelist.txt which is in /usr/share/backupmenu/extrafiles.tar.gz.

I did it this way:

backup of extrafiles.tar.gz
Code:
Nokia-N900:~# cp /usr/share/backupmenu/extrafiles.tar.gz /home/user/MyDocs/
extract extrafiles and edit filelist.txt
Code:
Nokia-N900:~# cd /usr/share/backupmenu/
Nokia-N900:/usr/share/backupmenu# ls
BackupMenu.item          extrafiles.tar.gz
BackupMenuLauncher.item  tar
Nokia-N900:/usr/share/backupmenu# mkdir temp
Nokia-N900:/usr/share/backupmenu# cp extrafiles.tar.gz ./temp
Nokia-N900:/usr/share/backupmenu# cd temp/
Nokia-N900:/usr/share/backupmenu/temp# tar xfvz extrafiles.tar.gz
./bin/
./bin/mountsd
./bin/getlockcode
./bin/mountroot
./bin/mountopt
./bin/charge.sh
./bin/mountmydocs
./bin/loadkmap
./filelist.txt
./nokia-n900.kmap
Nokia-N900:/usr/share/backupmenu/temp# nano filelist.txt
delete the two lines
Code:
cp /lib/libacl.so.1 /tmp/disk/lib/
cp /lib/libattr.so.1.1.0 /tmp/disk/lib/
recompress tar.gz, move and clean up
Code:
Nokia-N900:/usr/share/backupmenu/temp# rm extrafiles.tar.gz
Nokia-N900:/usr/share/backupmenu/temp# tar cvfz extrafiles.tar.gz ./*
./bin/
./bin/mountsd
./bin/getlockcode
./bin/mountroot
./bin/mountopt
./bin/charge.sh
./bin/mountmydocs
./bin/loadkmap
./filelist.txt
./nokia-n900.kmap
Nokia-N900:/usr/share/backupmenu/temp# mv extrafiles.tar.gz ..
Nokia-N900:/usr/share/backupmenu/temp# cd ..
Nokia-N900:/usr/share/backupmenu# rm -r ./temp/
Nokia-N900:/usr/share/backupmenu# ls
BackupMenu.item          extrafiles.tar.gz
BackupMenuLauncher.item  tar
Nokia-N900:/usr/share/backupmenu# chmod +x extrafiles.tar.gz
Nokia-N900:/usr/share/backupmenu# reboot
This is not the fastest and safest way, but I'm learning.
Maybe it helps somebody.
 

The Following 2 Users Say Thank You to eight For This Useful Post: