Skip to content

Commit

Permalink
microshift: Create symlink of /usr/local to make is mutable
Browse files Browse the repository at this point in the history
This will allow us to place different scripts which is going to used
for self sufficient bundle to `/usr/local/bin` same way it is allowed
in the openshift bundles because there also it is symlinked
```
total 136
[...]
lrwxrwxrwx.   2 root root    15 Aug  1  2022 local -> ../var/usrlocal
```
  • Loading branch information
praveenkumar committed Feb 14, 2025
1 parent 1fb32f8 commit b428000
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions image-mode/microshift/config/Containerfile.bootc-rhel9
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ RUN dnf install -y firewalld microshift microshift-release-info cloud-utils-grow
# and both are symlink to `var` already
RUN rm -fr /opt && ln -sf var/opt /opt && mkdir /var/opt
RUN ln -sf var/Users /Users && mkdir /var/Users
RUN rm -fr /usr/local && ln -sf ../var/usrlocal /usr/local && mkdir /var/usrlocal

0 comments on commit b428000

Please sign in to comment.