Skip to content

Commit

Permalink
Get system ready for v0.98 release
Browse files Browse the repository at this point in the history
Fix implicite ln in build.sh
Add shellcheck disables to allow for build.sh to run until formal fix is done.

Signed-off-by: Stephen Smoogen <[email protected]>
  • Loading branch information
Stephen Smoogen committed Dec 7, 2023
1 parent 4d61a33 commit 16151b7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
7 changes: 6 additions & 1 deletion initoverlayfs.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: initoverlayfs
Version: 0.97
Version: 0.98
Release: 1%{?dist}
Summary: An initial scalable filesystem for Linux operating systems

Expand Down Expand Up @@ -39,6 +39,11 @@ install -D -m755 lib/dracut/modules.d/81initoverlayfs/module-setup.sh $RPM_BUILD
%{_prefix}/lib/dracut/modules.d/81initoverlayfs/

%changelog
* Thu Dec 7 2023 Stephen Smoogen <[email protected]> - 0.98-1
- Release 0.98
- Improve documentation (PR31 and ecurtin)
- Only wait for bootfs storage device if it is configured (PR32)

* Fri Nov 17 2023 Eric Curtin <[email protected]> - 0.97-1
- Raspberry Pi 4 enablement.

Expand Down
9 changes: 8 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/bash

# https://www.shellcheck.net/wiki/SC2016 -- Expressions don't expand in singl...
# this comes up due to us trying to output a shell script which needs to keep its variables. Safe to disable
# shellcheck disable=SC2016
# this needs a larger set of hand tests to fix.
# https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
# shellcheck disable=SC2086

set -e

failure() {
Expand Down Expand Up @@ -73,7 +80,7 @@ install() {
sed -i "s/initrd-udevadm-cleanup-db.service/initrd-udevadm-cleanup-db.service mount-sysroot.service/g" /usr/lib/systemd/system/initrd-switch-root.target
chcon system_u:object_r:systemd_unit_file_t:s0 /usr/lib/systemd/system/mount-sysroot.service
cd /usr/lib/systemd/system/sysinit.target.wants/
ln -s ../mount-sysroot.service
ln -s ../mount-sysroot.service .
cd -
systemctl daemon-reload
du -sh /boot/initramfs*
Expand Down
3 changes: 3 additions & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# disable shellcheck for "Double quote to prevent globbing" until tested fix
# shellcheck disable=SC2086
#

set -ex

Expand Down

0 comments on commit 16151b7

Please sign in to comment.