View Single Post
Posts: 118 | Thanked: 15 times | Joined on Jul 2010
#1194
hi all,
is this normal when install the latest patch ?

Nokia-N900:~# cd /home/user/MyDocs
Nokia-N900:/home/user/MyDocs# sh install.txt
cp: cannot stat '/home/user/MyDocs/*/speedpatch.tar.gz': No such file or directory
cp: cannot stat '/home/user/MyDocs/*/*/speedpatch.tar.gz': No such file or directory
cp: '/home/user/MyDocs/../speedpatch.tar.gz' and '/home/user/speedpatch.tar.gz' are the same file

Reading package lists... Done
Building dependency tree
Reading state information... Done
bash is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mkdir: cannot create directory '/usr/local/sbin': File exists
transitions.ini
speedpatch
speedpatch.sh

Patching [/root/.bashrc]...

It seems the patch is already included in /root/.bashrc

Patching [/etc/rc.local]...

cat: can't open '/etc/rc.local': No such file or directory
Adding the patch...
cat: can't open '/etc/rc.local': No such file or directory
Making backup of /etc/rc.local in /etc/rc.local.backup.txt
cp: cannot stat '/etc/rc.local': No such file or directory
sed: /etc/rc.local: No such file or directory

#========== 200 lines kernel patch alternative ============
mkdir -p /dev/cgroup/cpu
mount -t cgroup cgroup /dev/cgroup/cpu -o cpu
mkdir -m 0777 /dev/cgroup/cpu/user
echo "/usr/local/sbin/cgroup_clean" > /dev/cgroup/cpu/release_agent
#====================================

Making [/etc/rc.local] executable


Creating [/usr/local/sbin/cgroup_clean]...

#!/bin/sh
if [ "$*" != "/user" ]; then
rmdir /dev/cgroup/cpu/$*
fi

Making [/usr/local/sbin/cgroup_clean] executable

DONE. The patch has been applied. Restart your computer...
mount: mounting cgroup on /dev/cgroup/cpu failed: Device or resource busy
mkdir: cannot create directory '/dev/cgroup/cpu/user': File exists

Ignore Any Errors Appeared
Reboot To Complete The Installation Progress


Last edited by locolyric; 2011-07-16 at 11:01.