diff options
| author | picca <picca@web> | 2015-09-29 12:35:27 +0000 |
|---|---|---|
| committer | admin <admin@branchable.com> | 2015-09-29 12:35:27 +0000 |
| commit | fe54ed07fa28df41fc2fba85bb2b166e76d1d89e (patch) | |
| tree | 4286156808f9237d40367a785a0d38d00a1813da /doc/forum/chroot_for_sbuild | |
| parent | b462e7f3ba325d0da3ce2564ee4a5335afa3b49c (diff) | |
Added a comment
Diffstat (limited to 'doc/forum/chroot_for_sbuild')
| -rw-r--r-- | doc/forum/chroot_for_sbuild/comment_1_7612dc49e14e896be8693be87200c7d3._comment | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/forum/chroot_for_sbuild/comment_1_7612dc49e14e896be8693be87200c7d3._comment b/doc/forum/chroot_for_sbuild/comment_1_7612dc49e14e896be8693be87200c7d3._comment new file mode 100644 index 00000000..6604fab4 --- /dev/null +++ b/doc/forum/chroot_for_sbuild/comment_1_7612dc49e14e896be8693be87200c7d3._comment @@ -0,0 +1,25 @@ +[[!comment format=mdwn + username="picca" + subject="comment 1" + date="2015-09-29T12:35:27Z" + content=""" +ok, so I created this property but it does not work + + sbuild :: System -> FilePath -> Property NoInfo + sbuild system tarball = + chroot `onChange` Tar.create chrootdir tarball + where + chroot = Chroot.debootstrapped system Debootstrap.BuilddD chrootdir + chrootdir = \"/tmp/chroot\" + +it fails with this error message + + src/config.hs:167:3: + Couldn't match expected type `Property x0' + with actual type `Chroot.Chroot' + In the first argument of `onChange', namely `chroot' + In the expression: chroot `onChange` Tar.create chrootdir tarball + +What I understand it that onChange expect a Property instead of a Chroot. +So what is the right way to tell propellor look at this chrootdir directory and create a tarball if its containt changed. +"""]] |
