Package: btrfs-tools
Version: 0.19-8
Severity: wishlist
Tags: patch d-i

I want to start getting btrfs support into d-i, and so I need a udeb
containing at least mkfs.btrfs. The attached patch builds the udeb.

Note that we like udebs to be as small as possible. I tried building
with -Os and got no size reduction, but if you know compile flags that
turn off unnecessary things and reduce size, please consider using them.

Also, if you think d-i (or a user of d-i, in eg, rescue mode) could use
other btrfs utilities, you can go ahead and add them. I thought about
including btrfsctl, but was not sure how it could be used in d-i. Also
thought about including fsck.btrfs, but didn't since I think the kernel
module does auto fsking on mount -- but if I'm wrong, please include it.

-- 
see shy jo
diff --new-file -ur o/btrfs-tools-0.19/debian/btrfs-tools-udeb.install btrfs-tools-0.19/debian/btrfs-tools-udeb.install
--- o/btrfs-tools-0.19/debian/btrfs-tools-udeb.install	1969-12-31 19:00:00.000000000 -0500
+++ btrfs-tools-0.19/debian/btrfs-tools-udeb.install	2010-01-26 22:50:49.555277381 -0500
@@ -0,0 +1 @@
+mkfs.btrfs	/sbin
diff --new-file -ur o/btrfs-tools-0.19/debian/control btrfs-tools-0.19/debian/control
--- o/btrfs-tools-0.19/debian/control	2010-01-26 23:11:20.000000000 -0500
+++ btrfs-tools-0.19/debian/control	2010-01-26 22:47:21.638241483 -0500
@@ -14,7 +14,7 @@
 Package: btrfs-tools
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
-Description: Checksumming Copy on Write Filesystem
+Description: Checksumming Copy on Write Filesystem utilities
  Btrfs is a new copy on write filesystem for Linux aimed at implementing
  advanced features while focusing on fault tolerance, repair and easy
  administration.
@@ -25,12 +25,18 @@
  WARNING: Btrfs is under heavy development, and is not suitable for any uses
  other than benchmarking and review.
 
+Package: btrfs-tools-udeb
+Architecture: any
+XC-Package-Type: udeb
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Checksumming Copy on Write Filesystem utilities (udeb)
+
 Package: btrfs-tools-dbg
 Section: debug
 Priority: extra
 Architecture: any
 Depends: ${misc:Depends}, btrfs-tools (= ${binary:Version})
-Description: Checksumming Copy on Write Filesystem (debug)
+Description: Checksumming Copy on Write Filesystem utilities (debug)
  Btrfs is a new copy on write filesystem for Linux aimed at implementing
  advanced features while focusing on fault tolerance, repair and easy
  administration.

Attachment: signature.asc
Description: Digital signature

Reply via email to