mirror of
https://gitlab.postmarketos.org/postmarketOS/pmaports.git
synced 2025-07-12 16:19:48 +03:00
main/postmarketos-initramfs: modprobe vfat before mounting logs device
Avoid mount failure due to the possibility of the kernel being built with vfat as a module (CONFIG_VFAT_FS=m) by explicitly trying to probe the vfat module before trying to mount. ~ # mount /dev/loop0 /tmp/logs mount: mounting /dev/loop0 on /tmp/logs failed: No such file or directory ~ # modprobe vfat ~ # mount /dev/loop0 /tmp/logs Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6679 [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
b32d6d7def
commit
6502ab3af5
2 changed files with 4 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
# Maintainer: Casey Connolly <kcxt@postmarketos.org>
|
||||
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||
pkgname=postmarketos-initramfs
|
||||
pkgver=3.8.3
|
||||
pkgrel=1
|
||||
pkgver=3.8.4
|
||||
pkgrel=0
|
||||
pkgdesc="Base files for the postmarketOS initramfs / initramfs-extra"
|
||||
url="https://postmarketos.org"
|
||||
options="!check" # no tests
|
||||
|
@ -109,7 +109,7 @@ sha512sums="
|
|||
c0233d22858a5901db64e1d2fe1f6d39a2e2cfd1b94a10932483f55fed9461e9b8aa2d73b154b9d99a7a8b49ee02abfbddfe917ce0c6d7576601ba2668589c01 00-initramfs-base.files
|
||||
d0f35562365756d93066ce45924d17fb347b54095179c3262daa2f073e12743505cd5d9372ad30485915ca754d95a8edba9a74314e7949e0b3cf6978a87d03a5 00-initramfs-extra-base.files
|
||||
7ec5e9596b27f48d3abe51bc92d70d9708479b5e7df5fa9903d9e58f5945f2a7de5c390cc2d82842b899dfc9fa9bdb2b84b29cc1daf5d534861cf1324628d57b init.sh
|
||||
1f304f964263a2c47ad7e044098bb8aa7bd6b77d348d04a65ea0a95ffb3bc5c880e72c7f7793247a7cb12164581ea1f31436bab3ab89b010f78feabc89c353ea init_functions.sh
|
||||
8948bb1bb17cf707790e0dc91a51a1c1293b883deea08137bbb92b19584282173d5ba7bb4481daafe5d84ee300808c5e9b23fae1256b64f4c2c7ef192b7a97a7 init_functions.sh
|
||||
7cf0b1e7511bf289a90ed6cf3190a78119be46e2d885ee3af2dd1fb048eaac7c0875bfd74cc576dd062d17c5fae23f7e721b86f8d71d2b3fb2917bcc184390c1 init_2nd.sh
|
||||
bb421896e7bebdc13822258d219795da79f3b17f4f0016f16e00cfc46c46beaf7b4873dd0418fc397a839570512a18030a6d8d452a0b54fd35b48be2de06be08 init_functions_2nd.sh
|
||||
675e7d5bee39b2df7d322117f8dcaccc274d61beaf4d50ead19bbf2109446d64b1c0aa0c5b4f9846eb6c1c403418f28f6364eff4537ba41120fbfcbc484b7da7 mdev.conf
|
||||
|
|
|
@ -1264,6 +1264,7 @@ create_logs_disk() {
|
|||
losetup -f /tmp/logs.img
|
||||
mkfs.vfat -n "PMOS_LOGS" "$loop_dev"
|
||||
mkdir -p /tmp/logs
|
||||
modprobe vfat
|
||||
mount "$loop_dev" /tmp/logs
|
||||
|
||||
# Copy logs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue