forked from 0k/0k-charms
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Valentin Lab
4cadcb12c1
|
12 months ago | |
---|---|---|
.. | ||
hooks/install.d | 1 year ago | |
src/etc | 11 years ago | |
README | 9 years ago |
README
How to get this:
mkdir -p /opt/apps &&
cd /opt/apps &&
git clone ssh://git.0k.io:10022/var/git/0k/0k-charms &&
cd 0k-charms/precise/host
How to execute all scripts:
for script in hooks/install.d/*.sh; do
[ -x "$script" ] || {
echo "Ignoring '$script': not executable" >&2
continue
}
"$script"
done
You should probably think about getting the last kernel:
Check: https://btrfs.wiki.kernel.org/index.php/Changelog
Get kernels:
- OVH: ftp://ftp.ovh.net/made-in-ovh/bzImage
Example:
cd /boot
wget ftp://ftp.ovh.net/made-in-ovh/bzImage/2.6.34.6-3/bzImage-2.6.34.6-xxxx-grs-ipv6-64
wget ftp://ftp.ovh.net/made-in-ovh/bzImage/2.6.34.6-3/System.map-2.6.34.6-xxxx-grs-ipv6-46
update-grub
- legacy:
And build the latests ``btrfs-tools``:
https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories
apt-get install -y build-essentials autotools uuid-dev libattr1-dev \
zlib1g-dev libacl1-dev e2fslibs-dev libblkid-dev liblzo2-dev
./autogen.sh &&
./configure --prefix=/opt/apps/btrfs-tools &&
make &&
make install &&
ln -sf /opt/apps/btrfs-tools/bin/* /usr/local/bin/ &&
apt-get remove btrfs-tools