summaryrefslogtreecommitdiff
path: root/alt-rootfs-installer/socs.d/unknown-soc.sh
diff options
context:
space:
mode:
authorAndrew Guschin <guschin@altlinux.org>2026-07-25 18:01:43 +0400
committerAndrew Guschin <guschin@altlinux.org>2026-07-25 18:01:43 +0400
commitc1bb6287d299628fa6753e155e82510c373a567a (patch)
treec8bfc3b324ddfd423fbe38fc1593b402f5c2af7a /alt-rootfs-installer/socs.d/unknown-soc.sh
vendor alt-rootfs-installer v0.7.4
Diffstat (limited to 'alt-rootfs-installer/socs.d/unknown-soc.sh')
-rwxr-xr-xalt-rootfs-installer/socs.d/unknown-soc.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/alt-rootfs-installer/socs.d/unknown-soc.sh b/alt-rootfs-installer/socs.d/unknown-soc.sh
new file mode 100755
index 0000000..c5fdebb
--- /dev/null
+++ b/alt-rootfs-installer/socs.d/unknown-soc.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# vim:sw=8:noet
+
+[ -n "${MEDIATABLE-}" ] || MEDIATABLE=msdos
+ROOTPART_NUM=1
+
+soc_write_bootloader() {
+ [ -n "$TMPROOT" ] || mount_partition
+}