summaryrefslogtreecommitdiff
path: root/doc/todo/merge_request:_changes_to_Reboot.hs/comment_1_766444e44fe64a66d57596b1ea9d416d._comment
blob: a1a7205432e606dc1ea4bb0ae20b16b879113975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2016-06-13T22:59:56Z"
 content="""
While I've merged this, I am unsure if Reboot.toKernelNewerThan
should stop propellor from ensuring any subsequent properties.

That works if we have:

	& toKernelNewerThan foo
	& Sbuild.built

But not if the two properties are flipped. So, doesn't it follow
that Sbuild.built is a buggy property?

If Sbuild.built needs a particular kernel version running,
it could requires toKernelNewerThan. Then any use of Sbuild.built
would make sure the right kernel is running, rebooting into it if
necessary. 

And, if toKernelNewerThan failed due to the right kernel version not being
installed, Sbuild.built would be prevented from running. In which case, it
would be fine for propellor to continue on with ensuring other unrelated
properties.
"""]]