diff options
| author | tranch <tranch.xiao@gmail.com> | 2026-07-25 07:14:05 +0800 |
|---|---|---|
| committer | tranch <tranch.xiao@gmail.com> | 2026-07-25 07:14:05 +0800 |
| commit | 981dde9ceed99c6b0a9dde1bce74e6100f0593d2 (patch) | |
| tree | 10eceedd13c42814a5f84d5739b913b8922c6c7a /installer/lorax_templates | |
| parent | 4bf6f276a7c616ebb7797952c5f33e5f282fb2c8 (diff) | |
| download | AeroCore-OS-981dde9ceed99c6b0a9dde1bce74e6100f0593d2.tar.gz AeroCore-OS-981dde9ceed99c6b0a9dde1bce74e6100f0593d2.zip | |
Apply var tmp fix in installer payload
Write the pre-install /var/tmp bind mount hook from installer/build.sh so both Titanoboa CI builds and local ISO builds carry the fix. The previous lorax template path was only wired through the local helper and did not affect GitHub Actions.
Diffstat (limited to 'installer/lorax_templates')
| -rw-r--r-- | installer/lorax_templates/use_target_var_tmp.tmpl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/installer/lorax_templates/use_target_var_tmp.tmpl b/installer/lorax_templates/use_target_var_tmp.tmpl deleted file mode 100644 index 2d099d1..0000000 --- a/installer/lorax_templates/use_target_var_tmp.tmpl +++ /dev/null @@ -1 +0,0 @@ -append usr/share/anaconda/interactive-defaults.ks "\n%pre-install --log=/tmp/aerocore-var-tmp.log\nset -eux\ntarget_tmp=\nfor root in /mnt/sysimage /mnt/sysroot /var/mnt/sysimage; do\n if mountpoint -q ${root}; then\n target_tmp=${root}/var/tmp\n break\n fi\ndone\nif [ x${target_tmp} = x ]; then\n echo No mounted target system found for /var/tmp bind mount >&2\n exit 1\nfi\nmkdir -p ${target_tmp}\nchmod 1777 ${target_tmp}\nmount --bind ${target_tmp} /var/tmp\ndf -h /var/tmp ${target_tmp}\n%end" |
