From 1d6879eedd5a766e82e7e4b33d79186a0ca40aa9 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 13 Jan 2017 15:03:24 +0100 Subject: x86/generic: add xen DomU support Copy the relevant config options from the xen_domu subtarget Signed-off-by: Felix Fietkau --- target/linux/x86/generic/base-files/lib/preinit/45_mount_xenfs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 target/linux/x86/generic/base-files/lib/preinit/45_mount_xenfs (limited to 'target/linux/x86/generic/base-files') diff --git a/target/linux/x86/generic/base-files/lib/preinit/45_mount_xenfs b/target/linux/x86/generic/base-files/lib/preinit/45_mount_xenfs new file mode 100644 index 0000000..ac484f6 --- /dev/null +++ b/target/linux/x86/generic/base-files/lib/preinit/45_mount_xenfs @@ -0,0 +1,9 @@ +#!/bin/sh +# Copyright (C) 2010 OpenWrt.org + +do_mount_xenfs() { + grep -q xenfs /proc/filesystems && \ + mount -o noatime -t xenfs none /proc/xen +} + +boot_hook_add preinit_mount_root do_mount_xenfs -- cgit v1.1