<feed xmlns='http://www.w3.org/2005/Atom'>
<title>propellor/src/Propellor/Property/Grub.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-06-16T11:46:52Z</updated>
<entry>
<title>Grub.configured uses ConfFile.containsShellSetting</title>
<updated>2018-06-16T11:46:52Z</updated>
<author>
<name>Sean Whitton</name>
<email>spwhitton@spwhitton.name</email>
</author>
<published>2018-06-15T15:44:06Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=bdda5413e14a4e9c7d7e7a19f5e0ebe3e43feef0'/>
<id>urn:sha1:bdda5413e14a4e9c7d7e7a19f5e0ebe3e43feef0</id>
<content type='text'>
This implies the following behavioural changes:

(1) Grub.configured will now change the value set by the first line it
finds that sets the value of its key, if one exists.  Previously,
Grub.configured would unconditionally append to /etc/default/grub,
unless the key=value pair was already present.

(2) Grub.configured will comment out any further lines setting the
value of its key found further down the file.

Signed-off-by: Sean Whitton &lt;spwhitton@spwhitton.name&gt;
</content>
</entry>
<entry>
<title>add only to default linux command line</title>
<updated>2018-02-01T15:57:06Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2018-02-01T15:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=121c20726cebf3657b0b5d22d220cbdc7aa1aac4'/>
<id>urn:sha1:121c20726cebf3657b0b5d22d220cbdc7aa1aac4</id>
<content type='text'>
Don't affect rescue mode.
</content>
</entry>
<entry>
<title>Grub: Added properties to configure /etc/default/grub.</title>
<updated>2018-02-01T15:51:51Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2018-02-01T15:51:51Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=2ac8353c96326f911768c985f638dabe36991e32'/>
<id>urn:sha1:2ac8353c96326f911768c985f638dabe36991e32</id>
<content type='text'>
This commit was sponsored by Ewen McNeill on Patreon.
</content>
</entry>
<entry>
<title>fix inversion</title>
<updated>2017-12-22T13:23:47Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-12-22T13:23:47Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=9313b95dfd611b6bef24916d2df4f83ee81f5ae6'/>
<id>urn:sha1:9313b95dfd611b6bef24916d2df4f83ee81f5ae6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Grub.boots, Grub.bootsMounted: Pass --target to grub-install.</title>
<updated>2017-12-21T04:12:01Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-12-21T04:12:01Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=4b2f46e510080b6d5df0ee04a3fae8e53df1ea7a'/>
<id>urn:sha1:4b2f46e510080b6d5df0ee04a3fae8e53df1ea7a</id>
<content type='text'>
This is to support eg, coreboot. The GrubTarget passed to Grub.installed
is introspected to determine --target. If multiple grubs are installed,
it currently doesn't pass any --target. Might make more sense to run
grub-install repeatedly, but I don't know if that case is sane at all.

The Xen -&gt; "x86_64-xen" mapping is kind of arbitrarily
chosen since there's a i386-xen available too. I don't know when that
case would be used in any case though; chainPVGrub uses installed Xen,
but it does not run grub-install. If this does become a problem,
would probably need to split it into Xen64 and Xen32.

Renamed BIOS to GrubTarget in passing to match grub's terminology; BIOS was
kind of a joke term for this in propellor.

This commit was sponsored by Francois Marier 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>Grub.bootsMounted: Avoid failing when proc sys etc are already mounted within the chroot.</title>
<updated>2017-07-29T00:38:02Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-07-29T00:38:02Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=1aac2336977a6c589b00f99eb18b26edee86a7a0'/>
<id>urn:sha1:1aac2336977a6c589b00f99eb18b26edee86a7a0</id>
<content type='text'>
Perhaps it should keep track of what was mounted before and restore it,
but it would complicate it a lot, and I doubt it would be needed by any use
of this property. Usually, this property will come after a chroot
provisioning property, which may leave proc and sys mounted, but that's
done only so that the chroot can later be used; and when bootsMounted is
applied to a chroot, the goal is presumably to boot the underlying disk
soon.
</content>
</entry>
<entry>
<title>propellor spin</title>
<updated>2017-07-28T19:35:33Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-07-28T19:35:33Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=cd19c22e96dfa9013b272efcf203da3211c199cf'/>
<id>urn:sha1:cd19c22e96dfa9013b272efcf203da3211c199cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DiskImage: Removed grubBooted</title>
<updated>2017-07-06T00:19:33Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-07-06T00:19:19Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=68f864299303ac8d510f19d67e8d7e6fe0681138'/>
<id>urn:sha1:68f864299303ac8d510f19d67e8d7e6fe0681138</id>
<content type='text'>
Properties that used to need it as a parameter now look at Info about the
bootloader that is installed in the chroot that the disk image is created
from. (API change)

This is a simplication, and avoids the user needing to repeat themselves
in the propellor config, thus avoiding mistakes.

When no boot loader is installed, or multiple different ones are,
disk image creation will fail, which seems reasonable.

This commit was sponsored by Jake Vosloo on Patreon.
</content>
</entry>
<entry>
<title>Image.grubBooted no longer takes a BIOS parameter</title>
<updated>2017-07-05T22:02:30Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-07-05T22:00:59Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=ab5652ff75a96ee0a3615a8fc82e7dfa0c0d9dc6'/>
<id>urn:sha1:ab5652ff75a96ee0a3615a8fc82e7dfa0c0d9dc6</id>
<content type='text'>
* DiskImage.grubBooted no longer takes a BIOS parameter,
  and no longer implicitly adds Grub.installed to the properties of
  the disk image. If you used DiskImage.grubBooted, you'll need to update
  your propellor configuration, removing the BIOS parameter from
  grubBooted and adding a Grub.installed property to the disk image, eg:
      &amp; Grub.installed PC
  (API change)
* Grub.installed: Avoid running update-grub when used in a chroot, since
  it will get confused.
* DiskImage.Finalization: Simplified this type since it does not need to
  be used to install packages anymore. (API change)

The advantage of doing this comes when using hostChroot with
imageBuilt, since the Host then has its Grub.installed property
explicitly listed so propellor knows about it when otherwise deploying that
host. Also, it simplifies the quite complex imageBuilt parameters.

This commit was sponsored by Ewen McNeill.
</content>
</entry>
</feed>
