BtrFS Progs: Difference between revisions
From LFScript
Added instructions to rebuild the source package from git |
|||
Line 5: | Line 5: | ||
<md5>1afa2d828ec80cf21aa530ae2a8caf99 btrfs-progs_2012_01_27.tar.bz2</md5> | <md5>1afa2d828ec80cf21aa530ae2a8caf99 btrfs-progs_2012_01_27.tar.bz2</md5> | ||
You can build a source package from the latest version by running the following commands from within the lfscript directory: | |||
<pre>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 | |||
</pre> | |||
Then move the source archive to the sources directory of LFScript and edit the <code>btrfs-progs</code> script to point to the new source archive. Don't forget to also adjust the md5 checksum in the script. | |||
== Dependencies == | == Dependencies == |
Revision as of 10:15, 13 June 2014
LFScript can find this software under the name btrfs-progs
.
Sources
MD5 Checksums:
1afa2d828ec80cf21aa530ae2a8caf99 btrfs-progs_2012_01_27.tar.bz2
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
- attr
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