diff --git a/SPECS/dracut/90tmpfsroot/tmpfsroot-mount.sh b/SPECS/dracut/90tmpfsroot/tmpfsroot-mount.sh index af065b51bb..d7aa9097c9 100644 --- a/SPECS/dracut/90tmpfsroot/tmpfsroot-mount.sh +++ b/SPECS/dracut/90tmpfsroot/tmpfsroot-mount.sh @@ -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 diff --git a/SPECS/dracut/dracut.signatures.json b/SPECS/dracut/dracut.signatures.json index f94dd05f06..729acd38b3 100644 --- a/SPECS/dracut/dracut.signatures.json +++ b/SPECS/dracut/dracut.signatures.json @@ -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" } diff --git a/SPECS/dracut/dracut.spec b/SPECS/dracut/dracut.spec index 3d275a1faf..264c8c2bc2 100644 --- a/SPECS/dracut/dracut.spec +++ b/SPECS/dracut/dracut.spec @@ -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+ @@ -345,6 +345,9 @@ ln -srv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name} %dir %{_sharedstatedir}/%{name}/overlay %changelog +* Fri May 30 2025 Lishan Liu - 102-15 +- Update tmpfs mount command in tmpfsroot-mount.sh + * Thu May 22 2025 Mun Chun Yep - 102-14 - Revert 6d93d4260 to fix tmpfs mount issue. diff --git a/toolkit/imageconfigs/edge-image-tink.json b/toolkit/imageconfigs/edge-image-tink.json index 50891d79e6..38b215426f 100644 --- a/toolkit/imageconfigs/edge-image-tink.json +++ b/toolkit/imageconfigs/edge-image-tink.json @@ -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, diff --git a/toolkit/imageconfigs/scripts/setup-tink-image.sh b/toolkit/imageconfigs/scripts/setup-tink-image.sh index ac23113cb9..d4d0a4ca1b 100755 --- a/toolkit/imageconfigs/scripts/setup-tink-image.sh +++ b/toolkit/imageconfigs/scripts/setup-tink-image.sh @@ -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" \