<feed xmlns='http://www.w3.org/2005/Atom'>
<title>propellor/src/Propellor/Property/Mount.hs, branch master</title>
<subtitle>gnusosa's centralized propellor repository for hosts spin-up.
</subtitle>
<id>https://git.gnusosa.net/propellor/atom?h=master</id>
<link rel='self' href='https://git.gnusosa.net/propellor/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/'/>
<updated>2018-04-23T17:20:13Z</updated>
<entry>
<title>semigroup monoid change fallout; drop ghc 7 support</title>
<updated>2018-04-23T17:20:13Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2018-04-23T17:20:13Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=9228bda32f0a3f6d52e7cc5eb444376e7b024d8c'/>
<id>urn:sha1:9228bda32f0a3f6d52e7cc5eb444376e7b024d8c</id>
<content type='text'>
Fix build with ghc 8.4, which broke due to the Semigroup Monoid change.
See https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid

Dropped support for building propellor with ghc 7 (as in debian
oldstable), to avoid needing to depend on the semigroups transitional
package, but also because it's just too old to be worth supporting.

If we indeed drop ghc 7 support entirely, some code to support "jessie"
can be removed; concurrent-output can be de-embedded, and the Singletons
code can be simplified.

This commit was sponsored by Jack Hill on Patreon.
</content>
</entry>
<entry>
<title>got the order backwards..</title>
<updated>2017-12-20T23:26:17Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-12-20T23:26:17Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=866bad5cf0474dc296245aea7ab645868db37cba'/>
<id>urn:sha1:866bad5cf0474dc296245aea7ab645868db37cba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>two diskimage edge case fixes</title>
<updated>2017-12-20T22:17:42Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-12-20T22:16:14Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=9d4655cf55ec0ab2d95b707e6b5ff009f0515bcd'/>
<id>urn:sha1:9d4655cf55ec0ab2d95b707e6b5ff009f0515bcd</id>
<content type='text'>
* DiskImage: Fix rsync crash when a mount point does not exist in the
  chroot.
* Fix bug in unmountBelow that caused unmounting of nested mounts to
  fail.

This commit was sponsored by Jack Hill on Patreon.
</content>
</entry>
<entry>
<title>Uboot: New module.</title>
<updated>2017-11-16T21:54:47Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-11-16T21:54:47Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=cff178de9c0d229574ab884fcca08a41f434e119'/>
<id>urn:sha1:cff178de9c0d229574ab884fcca08a41f434e119</id>
<content type='text'>
Installing u-boot to the boot sector is not needed by some boards
(my CubieTruck boots without it), but may be by others.

Tricky part was making u-boot be written to a disk image when building one.

This commit was sponsored by Jake Vosloo on Patreon.
</content>
</entry>
<entry>
<title>Added Mount.isMounted.</title>
<updated>2017-07-29T02:21:29Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-07-29T02:18:29Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=ebe81e975882ca3d4fcfe8e80fe9747f0128e2bc'/>
<id>urn:sha1:ebe81e975882ca3d4fcfe8e80fe9747f0128e2bc</id>
<content type='text'>
* Added Mount.isMounted.
* Grub.bootsMounted: Bugfix.
</content>
</entry>
<entry>
<title>tweaks to db45x's patch</title>
<updated>2017-04-07T00:16:08Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-04-07T00:08:14Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=57525e0d0d1d300aa807f1c876945ee5e38a29df'/>
<id>urn:sha1:57525e0d0d1d300aa807f1c876945ee5e38a29df</id>
<content type='text'>
Removed mountNow as a top-level property, as I don't think it makes
sense for anything except for mounted to use it.

db45x's patch turns out to have introduced a bug in mounted's use of
"mountNow src". That made mountNow check if the device was a mount
point, which it isn't. The fix would have been to use "mountNow mnt",
but my inlining of mountnow just basically reverted the part of the
patch that introduced the bug.

swapOn does not involve the fstab so moved to the Mount module.

(Also noticed that Mount.mounted is a kind of weird property, given that
it fails the next time ran. It's only used internally by some chroot
properties, so I left it as-is, but added a comment. It might make sense
to make Mount.mounted check like mountNow does if the thing is already
mounted.)
</content>
</entry>
<entry>
<title>throw StopPropellorException if unmounting fails</title>
<updated>2016-06-13T23:26:15Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2016-06-13T23:26:15Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=1ec80f39f6fe4da60d4e3b3ea9f256c5d7b4cd24'/>
<id>urn:sha1:1ec80f39f6fe4da60d4e3b3ea9f256c5d7b4cd24</id>
<content type='text'>
It would be bad if unmount somehow failed and then another property tried
to reformat the mounted device or rm -rf the mount point. While I don't see
anything that does that, and while lazy umount can't fail as far as I know,
it was throwing an exception that stopped propellor and let's cautiously
keep it that way.
</content>
</entry>
<entry>
<title>Added Propellor.Property.Fstab, and moved the fstabbed property to there.</title>
<updated>2016-04-07T05:03:53Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2016-04-07T05:03:53Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=868e2c473ac43f8e6432b1672f57bbdcb1872174'/>
<id>urn:sha1:868e2c473ac43f8e6432b1672f57bbdcb1872174</id>
<content type='text'>
</content>
</entry>
<entry>
<title>comment</title>
<updated>2016-04-05T15:09:57Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2016-04-05T15:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=7070899c187a3d2c6be538b8497428a23ae096f3'/>
<id>urn:sha1:7070899c187a3d2c6be538b8497428a23ae096f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>continued porting</title>
<updated>2016-03-25T20:04:31Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2016-03-25T20:04:31Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=4694a4c36cca1c7b52421297a62548d8bbb2ec0b'/>
<id>urn:sha1:4694a4c36cca1c7b52421297a62548d8bbb2ec0b</id>
<content type='text'>
</content>
</entry>
</feed>
