Skip to content

Commit

Permalink
Merge pull request #78 from containers/initoverlayfs-install-auto
Browse files Browse the repository at this point in the history
Add installation script for kernel update integration
  • Loading branch information
ericcurtin authored Mar 14, 2024
2 parents 99f8266 + e7b9db5 commit 8de95f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build-scripts/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: LGPL-2.1-or-later

# Current version of initoverlayfs
VERSION=0.993
VERSION=0.994
# Specify if build is a official release or a snapshot build
IS_RELEASE=false
# Used for official releases. Increment if necessary
Expand Down
5 changes: 5 additions & 0 deletions initoverlayfs.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ install -D -m755 lib/dracut/modules.d/81initoverlayfs/module-setup.sh ${RPM_BUIL
install -D -m644 lib/systemd/system/pre-initoverlayfs.target ${RPM_BUILD_ROOT}/%{_prefix}/lib/systemd/system/pre-initoverlayfs.target
install -D -m644 lib/systemd/system/pre-initoverlayfs.service ${RPM_BUILD_ROOT}/%{_prefix}/lib/systemd/system/pre-initoverlayfs.service
install -D -m644 lib/systemd/system/pre-initoverlayfs-switch-root.service ${RPM_BUILD_ROOT}/%{_prefix}/lib/systemd/system/pre-initoverlayfs-switch-root.service
install -D -m755 lib/kernel/install.d/94-initoverlayfs.install ${RPM_BUILD_ROOT}/%{_prefix}/lib/kernel/install.d/94-initoverlayfs.install

%files
%license LICENSE
Expand All @@ -43,8 +44,12 @@ install -D -m644 lib/systemd/system/pre-initoverlayfs-switch-root.service ${RPM_
%{_prefix}/lib/systemd/system/pre-initoverlayfs.target
%{_prefix}/lib/systemd/system/pre-initoverlayfs.service
%{_prefix}/lib/systemd/system/pre-initoverlayfs-switch-root.service
%{_prefix}/lib/kernel/install.d/94-initoverlayfs.install

%changelog
* Tue Mar 12 2024 Eric Curtin <[email protected]> - 0.994-1
- Automatically rebuild initoverlayfs on kernel update.

* Mon Mar 11 2024 Eric Curtin <[email protected]> - 0.993-1
- Add option to use initoverlayfs as an init system and mount
storage immediately.
Expand Down

0 comments on commit 8de95f1

Please sign in to comment.