Skip to content

Commit

Permalink
Cleanup whitespace problems found by precheck
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Smoogen <[email protected]>
  • Loading branch information
Stephen Smoogen committed Dec 7, 2023
1 parent 16151b7 commit 60cf46c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ A scalable solution for initial filesystems focused on minimal resource usage, s
- [Why use initoverlayfs?](#why-use-initoverlayfs)
- [Dependancies](#dependancies)
- [Installation](#installation)
* [Step 1 - Deploy the software](#step-1---deploy-the-software)
* [Step 2 - Run initoverlayfs-install](#step-2---run-initoverlayfs-install)
* [Step 3 - Reboot to test](#step-3---reboot-to-test)
* [Step 4 - Validating the boot](#step-4---validating-the-boot)
* [Step 1 - Deploy the software](#step-1---deploy-the-software)
* [Step 2 - Run initoverlayfs-install](#step-2---run-initoverlayfs-install)
* [Step 3 - Reboot to test](#step-3---reboot-to-test)
* [Step 4 - Validating the boot](#step-4---validating-the-boot)

# What is initoverlayfs?

Expand Down Expand Up @@ -60,7 +60,7 @@ For illustration, consider a comparison of the sizes using dracut versus initove
``` bash
# /usr/bin/initoverlayfs-install
# du -sh /boot/initramfs-6.5.5-300.fc39.x86_64.img
13M /boot/initramfs-6.5.5-300.fc39.x86_64.img
13M /boot/initramfs-6.5.5-300.fc39.x86_64.img
^^ <--- from 36M to 13M
```

Expand Down
2 changes: 1 addition & 1 deletion initoverlayfs.spec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ install -D -m755 lib/dracut/modules.d/81initoverlayfs/module-setup.sh $RPM_BUILD
%files
%license LICENSE
%doc README.md
%attr(0755,root,root)
%attr(0755,root,root)
%{_bindir}/initoverlayfs-install
%{_prefix}/sbin/storage-init
%{_prefix}/lib/dracut/modules.d/81initoverlayfs/
Expand Down
3 changes: 1 addition & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ extract_initrd_into_initoverlayfs() {
fi
}

cd
cd
#epoch=$(date +%s)
# systemd-analyze > systemd-analyze$epoch.txt
#journalctl --output=short-monotonic > journalctl$epoch.txt
Expand Down Expand Up @@ -146,4 +146,3 @@ sudo systemctl daemon-reload
#sudo sed -i "s#options #options initoverlayfs=$boot_partition initoverlayfstype=ext4 rdinit=/usr/sbin/storage-init #g" /boot/loader/entries/$bls_file
sudo sed -i "s/ quiet/ console=ttyS0/g" /boot/loader/entries/$bls_file
sudo cat /boot/loader/entries/$bls_file

2 changes: 1 addition & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +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 60cf46c

Please sign in to comment.