Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zipl: add value of target= as search path for BLS case #74

Closed
wants to merge 1 commit into from

Conversation

tuan-hoang1
Copy link
Contributor

@tuan-hoang1 tuan-hoang1 commented Oct 4, 2019

In the BLS files, the 'linux' and 'initrd' fields are relative to the
$BOOT directory. If $BOOT is a mount point of boot partition, 'linux'
and 'initrd' fields are relative to boot partition. If not, the paths
are relative to $BOOT directory of root partition.

zipl always starts searching at / regardless of partitions and mount
points.

This commit extends the semantics of target= field in zipl.conf to make
it as a second search path, besides /, for those 2 BLS fields.

See issues #69 for more details.

Fixes: #69

Signed-off-by: Tuan Hoang [email protected]

In the BLS files, the 'linux' and 'initrd' fields are relative to the
$BOOT directory. If $BOOT is a mount point of boot partition, 'linux'
and 'initrd' fields are relative to boot partition. If not, the paths
are relative to $BOOT directory of root partition.

zipl always starts searching at / regardless of partitions and mount
points.

This commit extends the semantics of target= field in zipl.conf to make
it as a second search path, besides /, for those 2 BLS fields.

See issues ibm-s390-linux#69 for more details.

Fixes: ibm-s390-linux#69

Signed-off-by: Tuan Hoang <[email protected]>
@tuan-hoang1
Copy link
Contributor Author

Force pushes are to fix commit message, no functional change.

@stefan-haberland
Copy link
Contributor

Hi,

thanks a lot for the contribution. From reading the Code it looks good to me. I will give it a test and include it if there is no additional finding.

Regards,
Stefan

tuan-hoang1 added a commit to tuan-hoang1/ignition-dracut that referenced this pull request Oct 10, 2019
zipl records need to be updated, because ignition.firstboot is burned
into target disk during coreos-installer

As a short-term solution for:
coreos#84

Depends on:
ibm-s390-linux/s390-tools#71
ibm-s390-linux/s390-tools#74

Related:
coreos/coreos-installer#61
coreos/coreos-assembler#780
tuan-hoang1 added a commit to tuan-hoang1/ignition-dracut that referenced this pull request Oct 11, 2019
zipl records need to be updated, because ignition.firstboot is burned
into target disk during coreos-installer

As a short-term solution for:
coreos#84

Depends on:
ibm-s390-linux/s390-tools#71
ibm-s390-linux/s390-tools#74

Related:
coreos/coreos-installer#61
coreos/coreos-assembler#780
@hoeppnerj hoeppnerj closed this in d716283 Oct 17, 2019
tuan-hoang1 added a commit to tuan-hoang1/ignition-dracut that referenced this pull request Nov 6, 2019
zipl records need to be updated, because ignition.firstboot is burned
into target disk during coreos-installer

As a short-term solution for:
coreos#84

Depends on:
ibm-s390-linux/s390-tools#71
ibm-s390-linux/s390-tools#74

Related:
coreos/coreos-installer#61
coreos/coreos-assembler#780
jlebon pushed a commit to coreos/ignition-dracut that referenced this pull request Nov 6, 2019
zipl records need to be updated, because ignition.firstboot is burned
into target disk during coreos-installer

As a short-term solution for:
#84

Depends on:
ibm-s390-linux/s390-tools#71
ibm-s390-linux/s390-tools#74

Related:
coreos/coreos-installer#61
coreos/coreos-assembler#780
Prashanth684 pushed a commit to Prashanth684/ignition-dracut that referenced this pull request Nov 28, 2019
zipl records need to be updated, because ignition.firstboot is burned
into target disk during coreos-installer

As a short-term solution for:
coreos#84

Depends on:
ibm-s390-linux/s390-tools#71
ibm-s390-linux/s390-tools#74

Related:
coreos/coreos-installer#61
coreos/coreos-assembler#780
(cherry picked from commit 38af701)
jlebon pushed a commit to coreos/ignition-dracut that referenced this pull request Nov 28, 2019
zipl records need to be updated, because ignition.firstboot is burned
into target disk during coreos-installer

As a short-term solution for:
#84

Depends on:
ibm-s390-linux/s390-tools#71
ibm-s390-linux/s390-tools#74

Related:
coreos/coreos-installer#61
coreos/coreos-assembler#780
(cherry picked from commit 38af701)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zipl: relative path for BLS values
2 participants