Re: [Tails-dev] overlay support in bilibop

2015-05-13 Thread intrigeri
Hi,

quidame wrote (09 May 2015 22:57:33 GMT) :
 On 07/05/2015 13:44, intrigeri wrote:
 
 May you please also provide a patch that applies on top of bilibop
 0.4.23? I need to build a Tails/Jessie ISO with a newer kernel (that
 only supports overlayfs).

 'git diff debian/0.4.23..451b58ad17c4ea4a lib/bilibop/common.sh' builds
 the attached patch.

Thanks! /me feels stupid -- I should have thought of it myself :)
Tested, works for basic usage at least.

 Any news on this front?

 Things work pretty good, and will probably be packaged next week.

Yay! That's good news, given that Linux 4.0 packages (that replace
aufs with overlayfs) are now in Debian unstable.

Cheers,
-- 
intrigeri
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] overlay support in bilibop

2015-05-13 Thread intrigeri
Hi,

quidame wrote (09 May 2015 22:57:33 GMT) :
 On 07/05/2015 13:44, intrigeri wrote:
 
 May you please also provide a patch that applies on top of bilibop
 0.4.23? I need to build a Tails/Jessie ISO with a newer kernel (that
 only supports overlayfs).

 'git diff debian/0.4.23..451b58ad17c4ea4a lib/bilibop/common.sh' builds
 the attached patch.

Thanks! /me feels stupid -- I should have thought of it myself :)
Tested, works for basic usage at least.

 Any news on this front?

 Things work pretty good, and will probably be packaged next week.

Yay! That's good news, given that Linux 4.0 packages (that replace
aufs with overlayfs) are now in Debian unstable.

Cheers,
-- 
intrigeri
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] overlay support in bilibop

2015-05-09 Thread quidame
(please cc me, I'm not subscribed)

Hi,

On 07/05/2015 13:44, intrigeri wrote:
 
 May you please also provide a patch that applies on top of bilibop
 0.4.23? I need to build a Tails/Jessie ISO with a newer kernel (that
 only supports overlayfs).

'git diff debian/0.4.23..451b58ad17c4ea4a lib/bilibop/common.sh' builds
the attached patch.

 Unfortunately, bilibop-lockfs needs more work and tests, and is not
 ready for a new release. This means that there will not be a new bilibop
 package in debian repositories in the next (two) weeks.
 
 Any news on this front?

Things work pretty good, and will probably be packaged next week.

Cheers,
quidame
diff --git a/lib/bilibop/common.sh b/lib/bilibop/common.sh
index 1fbf549..18c1156 100644
--- a/lib/bilibop/common.sh
+++ b/lib/bilibop/common.sh
@@ -1,6 +1,6 @@
 # /lib/bilibop/common.sh
 #
-# Copyright (C) 2011-2014, Yann Amar quid...@poivron.org
+# Copyright (C) 2011-2015, Yann Amar quid...@poivron.org
 # License GPL-3.0+
 #
 # This program is free software: you can redistribute it and/or modify
@@ -31,8 +31,9 @@
 #  and others), and then are replaced by grep and sed heuristics.
 # We assume, even if it is not often, that /etc/udev/udev.conf can have been
 #  modified and that 'udev_root' can be something else than '/dev'.
-# dm-crypt/LUKS, LVM, loopback and aufs root filesystems (and combinations
-#  of them) are now fully supported.
+# dm-crypt/LUKS, LVM, loopback, and aufs root filesystems (and combinations
+#  of them) are now fully supported. Btrfs and overlay filesystems are also
+#  partially supported (not fully tested).
 # Functions that just output informations about devices/filesystems can be
 #  called by any unprivileged user.
 
@@ -211,56 +212,62 @@ EOF
 ### Here is the main function's dependency tree {{{
 #
 # physical_hard_disk
-# |
 # |__underlying_partition
-#|
 #|__underlying_device
-#|  |
 #|  |__underlying_device_from_device
-#|  |  |
 #|  |  |__underlying_device_from_dm
 #|  |  |__underlying_device_from_loop
-#|  | |
 #|  | |__backing_file_from_loop
 #|  | |__device_id_of_file
-#|  | |__device_node_from_major_minor
+#|  | |__underlying_device_from_file __ see below
+#|  | |__device_node_from_major_minor   v
 #|  |
-#|  |__underlying_device_from_file
+#|  |__underlying_device_from_file   possible loop entry point
+#| |__device_id_of_file  |
+#| |__find_mountpoint|
+#| |__is_aufs_mountpoint |
+#| |  |__canonical   |
+#| | |
+#| |__underlying_device_from_aufs|
+#| |  |__aufs_readonly_branch|
+#| |  |  |__aufs_dirs_if_brs0|
+#| |  |  |  |__is_aufs_mountpoint|
+#| |  |  | |__canonical  |
+#| |  |  |   |
+#| |  |  |__aufs_si_directory|
+#| |  | |__is_aufs_mountpoint|
+#| |  ||__canonical  |
+#| |  |  |
+#| |  |__device_id_of_file   |
+#| |  |__underlying_device_from_file __| possible loop entry point
+#| |  |__device_node_from_major_minor|
+#| | |
+#| |__is_overlay_mountpoint  |
+#| |  |__canonical   |
+#| | |
+#| |__underlying_device_from_overlayfs   |
+#| |  |__overlay_lowerdir|
+#| |  |  |__is_overlay_mountpoint|
+#| |  |  |  |__canonical |
+#| |  |  |   |
+#| |  |  |__canonpath|
+#| |  |  |
+#| |  |__device_id_of_file   |
+#| |  |__underlying_device_from_file __| possible loop entry point
+#| |  |__device_node_from_major_minor
 #| |
-#| |__device_node_from_major_minor
-#| |__device_id_of_file
-#| |__find_mountpoint
-#| |  |
-#| |  |__is_aufs_mountpoint
-#| | |
-#| | |__canonical
+#| |__is_btrfs_mountpoint
+#| |  |__canonical
 #| |
-#| |__underlying_device_from_aufs
-#||
-#||__aufs_dirs
-#||  |
-#||  |__aufs_dirs_if_brs0
-#||  |  |
-#||  |  |__is_aufs_mountpoint
-#||  | |
-#||  | |_canonical
-#||  |
-#||  |__aufs_si_directory
-#|| |
-#|| |__is_aufs_mountpoint
-#|||
-#|||__canonical
-#||
-#||__device_id_of_file
-#||__device_node_from_major_minor
+#|   

Re: [Tails-dev] overlay support in bilibop

2015-05-07 Thread intrigeri
Hi,

quidame wrote (19 Mar 2015 04:11:01 GMT) :
 That said, if you want to try the attached file...

May you please also provide a patch that applies on top of bilibop
0.4.23? I need to build a Tails/Jessie ISO with a newer kernel (that
only supports overlayfs).

 Unfortunately, bilibop-lockfs needs more work and tests, and is not
 ready for a new release. This means that there will not be a new bilibop
 package in debian repositories in the next (two) weeks.

Any news on this front?

Cheers,
-- 
intrigeri
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] overlay support in bilibop

2015-03-19 Thread intrigeri
Hi quidame,

quidame wrote (19 Mar 2015 04:11:01 GMT) :
 That said, if you want to try the attached file...

Thanks!

 * Proof test:
 Include the new common.sh in the right place to overwrite the original
 one during the Tails build process, and run.

Done via config/chroot_local-patches/bilibop-overlayfs.patch (so that
we can't possibly forget that common.sh lying around and causing
breakage once we upgrade to some future version of bilibop). Pushed to
the topic branch (feature/8415-overlayfs), builds fine, untested.

Anyone who wants to test and report back: the problems we're trying to
fix here are documented on #8908.

Cheers,
-- 
intrigeri
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.