Skip to content

Commit

Permalink
Add /etc/os-release symlink to /usr/lib/os-release
Browse files Browse the repository at this point in the history
  • Loading branch information
Touseef Liaqat committed May 30, 2015
1 parent c7580af commit 3b42ebd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SPECS/filesystem/filesystem.spec
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ HOME_URL="https://vmware.github.io/photon/"
BUG_REPORT_URL="https://github.com/vmware/photon/issues"
EOF

ln -sv ../usr/lib/os-release %{buildroot}/etc/os-release

%files
%defattr(-,root,root)
# Root filesystem
Expand Down Expand Up @@ -365,6 +367,7 @@ EOF
%config(noreplace) /etc/photon-release
%config(noreplace) /etc/lsb-release
%config(noreplace) /usr/lib/os-release
%config(noreplace) /etc/os-release
%config(noreplace) /etc/mtab
%config(noreplace) /etc/passwd
%config(noreplace) /etc/profile
Expand Down

0 comments on commit 3b42ebd

Please sign in to comment.