diff options
author | Alistair Delva <adelva@google.com> | 2021-11-08 14:08:25 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-11-08 14:08:25 +0000 |
commit | 045c34d531f20a57742f1cc8cef4ec4b10796f30 (patch) | |
tree | 113b649613a048011cb84e4c820bb20ca9e7177a | |
parent | 1ed16d5ff050227db7d2d5855c46f6dcb27ccffa (diff) | |
parent | ab006551a604539917d38d2c68bc72cadac0fd6d (diff) | |
download | tests-045c34d531f20a57742f1cc8cef4ec4b10796f30.tar.gz |
build_rootfs.sh: Enable TRIM on root am: ab006551a6
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1882988
Change-Id: I80bec46b0130856557aaaff8f6ffa82506ea1418
-rwxr-xr-x | net/test/rootfs/stage2.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/test/rootfs/stage2.sh b/net/test/rootfs/stage2.sh index 7f2e76f..84fc8ea 100755 --- a/net/test/rootfs/stage2.sh +++ b/net/test/rootfs/stage2.sh @@ -32,10 +32,10 @@ rm -rf /debootstrap /var/lib/apt/lists/* # Read-only root breaks booting via init cat >/etc/fstab << EOF -LABEL=ROOT / ext4 defaults 0 1 -tmpfs /tmp tmpfs defaults 0 0 -tmpfs /var/log tmpfs defaults 0 0 -tmpfs /var/tmp tmpfs defaults 0 0 +LABEL=ROOT / ext4 defaults,discard 0 1 +tmpfs /tmp tmpfs defaults 0 0 +tmpfs /var/log tmpfs defaults 0 0 +tmpfs /var/tmp tmpfs defaults 0 0 EOF # systemd will attempt to re-create this symlink if it does not exist, |