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

brp-25-symlink: do not relink /etc/os-release #9

Merged
merged 1 commit into from
Jun 1, 2017
Merged

brp-25-symlink: do not relink /etc/os-release #9

merged 1 commit into from
Jun 1, 2017

Conversation

DimStar77
Copy link
Contributor

Mounting a disk and inspecting "/etc/os-release" should give the information
of the mounted volume, not of the host drive.

https://bugzilla.opensuse.org/show_bug.cgi?id=1028408

Mounting a disk and inspecting "/etc/os-release" should give the information
of the mounted volume, not of the host drive.

https://bugzilla.opensuse.org/show_bug.cgi?id=1028408
@@ -143,6 +143,8 @@ do
continue;;
/sbin/init,*) # don't create absolute symlink for /sbin/init
continue;;
/etc/os-release,*) # don't create absolute symlink for /etc/os-release (boo#1028408).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the '.*. suffix? There is only one file..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is in a case link,linkdest; link is /etc/os-release, linkdest can be either /usr/lib/os-releasse or ../usr/lib/os-release...

In any case, just /etc/os-release would not match the case statement

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, and that's why it is comma star, not dor star

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, thanks

@dirkmueller dirkmueller merged commit cec5415 into openSUSE:master Jun 1, 2017
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.

None yet

2 participants