summaryrefslogtreecommitdiff
path: root/alt-rootfs-installer/socs.d/unknown-soc.sh
diff options
context:
space:
mode:
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
+}