fork 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.

55 lines
1.2 KiB

  1. How to get this:
  2. mkdir -p /opt/apps &&
  3. cd /opt/apps &&
  4. git clone ssh://git.0k.io:10022/var/git/0k/0k-charms &&
  5. cd 0k-charms/precise/host
  6. How to execute all scripts:
  7. for script in hooks/install.d/*.sh; do
  8. [ -x "$script" ] || {
  9. echo "Ignoring '$script': not executable" >&2
  10. continue
  11. }
  12. "$script"
  13. done
  14. You should probably think about getting the last kernel:
  15. Check: https://btrfs.wiki.kernel.org/index.php/Changelog
  16. Get kernels:
  17. - OVH: ftp://ftp.ovh.net/made-in-ovh/bzImage
  18. Example:
  19. cd /boot
  20. wget ftp://ftp.ovh.net/made-in-ovh/bzImage/2.6.34.6-3/bzImage-2.6.34.6-xxxx-grs-ipv6-64
  21. wget ftp://ftp.ovh.net/made-in-ovh/bzImage/2.6.34.6-3/System.map-2.6.34.6-xxxx-grs-ipv6-46
  22. update-grub
  23. - legacy:
  24. And build the latests ``btrfs-tools``:
  25. https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories
  26. apt-get install -y build-essentials autotools uuid-dev libattr1-dev \
  27. zlib1g-dev libacl1-dev e2fslibs-dev libblkid-dev liblzo2-dev
  28. ./autogen.sh &&
  29. ./configure --prefix=/opt/apps/btrfs-tools &&
  30. make &&
  31. make install &&
  32. ln -sf /opt/apps/btrfs-tools/bin/* /usr/local/bin/ &&
  33. apt-get remove btrfs-tools