Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SPECS/dracut/90tmpfsroot/tmpfsroot-mount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the MIT License.

info "mount tmpfs for root"
if ! mount -t tmpfs -o size=1G tmpfs $NEWROOT; then
if ! mount -t tmpfs tmpfs $NEWROOT; then
warn "Failed to mount tmpfs on $NEWROOT"
die
fi
Expand Down
2 changes: 1 addition & 1 deletion SPECS/dracut/dracut.signatures.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lgpl-2.1.txt": "dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551",
"megaraid.conf": "914824cdbe0c525b71efa05a75e453335b0068beb8bc28bef2a5866d74bf7dd4",
"tmpfsroot-module-setup.sh": "d1e2d512a3769fb70f7726b1899f89950d5bfc2199e8cde5df44adebd740006f",
"tmpfsroot-mount.sh": "884c4c9a17118229dfbb40ec9a4a23d307c12349dbf19adc1a2d8640c2f77fd0",
"tmpfsroot-mount.sh": "5fdcac59d2a9560215f91619373fb217592e7c9e51ff74cd21883411ea6ded66",
"module-setup.sh": "8f5a0d3cc393d78bcb523b0d53c578d2767d688f00e84b525355bbb31d753da4",
"overlayfs-mount.sh": "28f47c107a4435c5153bdb5b2f92f20b7a75bf3932216635ee810875c27dd55b"
}
Expand Down
5 changes: 4 additions & 1 deletion SPECS/dracut/dracut.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Summary: dracut to create initramfs
Name: dracut
Version: 102
Release: 14%{?dist}
Release: 15%{?dist}
# The entire source code is GPLv2+
# except install/* which is LGPLv2+
License: GPLv2+ AND LGPLv2+
Expand Down Expand Up @@ -345,6 +345,9 @@ ln -srv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name}
%dir %{_sharedstatedir}/%{name}/overlay

%changelog
* Fri May 30 2025 Lishan Liu <lishan.liu@intel.com> - 102-15
- Update tmpfs mount command in tmpfsroot-mount.sh

* Thu May 22 2025 Mun Chun Yep <mun.chun.yep@intel.com> - 102-14
- Revert 6d93d4260 to fix tmpfs mount issue.

Expand Down
2 changes: 1 addition & 1 deletion toolkit/imageconfigs/edge-image-tink.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}
],
"KernelCommandLine": {
"ExtraCommandLine": "root=tmpfs rootflags=size=1G,mode=0755 rd.skipfsck noresume quiet splash modules-load=nbd"
"ExtraCommandLine": "root=tmpfs rootflags=mode=0755 rd.skipfsck noresume quiet splash modules-load=nbd"
},
"Hostname": "EMT-tink",
"DisableRpmDocs": true,
Expand Down
2 changes: 0 additions & 2 deletions toolkit/imageconfigs/scripts/setup-tink-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ mkdir -p /etc/fluent-bit
if [ ! -f /etc/fluent-bit/fluent-bit.conf ]; then
touch /etc/fluent-bit/fluent-bit.conf
fi
echo "$pprefix: fstab contents $(cat /etc/fstab)"
echo 'tmpfs / tmpfs defaults,size=1G 0 0' > /etc/fstab
echo "$pprefix: $(du -ah /usr/share)"
find /usr/share -type f \
! -path "/usr/share/terminfo/v/vt100" \
Expand Down
Loading