BtrFS Progs: Difference between revisions
→Dependencies: Remove 'attr' as a dependency since it is now in LFS by default. Added 'lzo', 'asciidoc' and 'xmlto' as dependencies. |
→Sources: Upgrade to new version |
||
Line 2: | Line 2: | ||
== Sources == | == Sources == | ||
* <sourcecode>http://lfscript.org/sources/btrfs- | * <sourcecode>http://lfscript.org/sources/btrfs-progs_20140613.tar.xz</sourcecode> | ||
<md5> | <md5>b48fe5f7855a05f8d670f543171b9629 btrfs-progs_20140613.tar.xz</md5> | ||
You can build a source package from the latest version by running the following commands from within the lfscript directory: | You can build a source package from the latest version by running the following commands from within the lfscript directory: |
Revision as of 12:03, 13 June 2014
LFScript can find this software under the name btrfs-progs
.
Sources
MD5 Checksums:
b48fe5f7855a05f8d670f543171b9629 btrfs-progs_20140613.tar.xz
You can build a source package from the latest version by running the following commands from within the lfscript directory:
mkdir btrfs-distrib cd btrfs-distrib git clone git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git tar --xz -cf btrfs-progs_$(date +%Y%m%d).tar.xz btrfs-progs md5sum btrfs-progs_$(date +%Y%m%d).tar.xz mv -v btrfs-progs_$(date +%Y%m%d).tar.xz ../sources cd ../ rm -rf btrfs-distrib
Then move the source archive to the sources directory of LFScript and edit the btrfs-progs
script to point to the new source archive. Don't forget to also adjust the md5 checksum in the script.
Dependencies
- lzo
The following packages are required to build the documentation. asciidoc
requires python2
. And xmlto
requires about 5 more packages to deal with XML. If you want to build a light system, you may want to find a way to not build the docs. However, if you are going to build a desktop system, the XML dependencies will probably also be required for other packages.
- asciidoc
- xmlto
If you want to be able to mount btrfs
file systems, you will need to add support for it to your kernel:
File systems ---> Btrfs filesystem (EXPERIMENTAL) Unstable disk format
Installation
make
As the root user:
make prefix=/usr install