From 32e6a41f33e5576716b351bd473a27939fe94fa1 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Mon, 15 Dec 2008 15:22:34 +1100 Subject: Initial support for multiple UIs Move the device discovery code from separate udev helpers to a single process to listen on two sockets: one SOCK_DGRAM for incoming udev events, and one SOCK_STREAM for UIs to connect. Initial support for client/server infrastructure, still need to wire-up the udev messages. Signed-off-by: Jeremy Kerr --- test/parser/004/expected-output | 9 +++++++++ test/parser/004/rootdev | 1 + test/parser/004/sda1/etc/kboot.conf | 4 ++++ 3 files changed, 14 insertions(+) create mode 100644 test/parser/004/expected-output create mode 100644 test/parser/004/rootdev create mode 100644 test/parser/004/sda1/etc/kboot.conf (limited to 'test/parser/004') diff --git a/test/parser/004/expected-output b/test/parser/004/expected-output new file mode 100644 index 0000000..76a90a2 --- /dev/null +++ b/test/parser/004/expected-output @@ -0,0 +1,9 @@ +[dev 0] id: /dev/sda1 +[dev 0] name: (null) +[dev 0] description: (null) +[dev 0] boot_image: /usr/share/petitboot/artwork/hdd.png +[opt 0] name: test +[opt 0] description: /dev/sda1:/vmlinux +[opt 0] boot_image: devices/parser-tests/004/sda1/vmlinux +[opt 0] initrd: (null) +[opt 0] boot_args: (null) diff --git a/test/parser/004/rootdev b/test/parser/004/rootdev new file mode 100644 index 0000000..36cfa0d --- /dev/null +++ b/test/parser/004/rootdev @@ -0,0 +1 @@ +sda1 diff --git a/test/parser/004/sda1/etc/kboot.conf b/test/parser/004/sda1/etc/kboot.conf new file mode 100644 index 0000000..9755f77 --- /dev/null +++ b/test/parser/004/sda1/etc/kboot.conf @@ -0,0 +1,4 @@ +# test remapping sda to ps3da, when mounted from a plain sd device + +test='/dev/sda1:/vmlinux' + -- cgit v1.2.1