]> git.ozlabs.org Git - petitboot/blobdiff - devices.c
Make petitboot installable
[petitboot] / devices.c
index ac932871684e8ea3c6663727ecd7ff9ed4ab0fcf..28cb3a38e3828f328a8ee7434eb073ffb970379a 100644 (file)
--- a/devices.c
+++ b/devices.c
@@ -9,12 +9,12 @@
 
 #include <libtwin/twin_png.h>
 #include "petitboot.h"
+#include "petitboot-paths.h"
 #include "devices/message.h"
 
-#define PBOOT_DEVICE_SOCKET    "/var/tmp/petitboot-dev"
-#define PBOOT_DEFAULT_ICON     "artwork/usbpen.png"
+#define PBOOT_DEFAULT_ICON     "usbpen.png"
 
-static const char *default_icon = PBOOT_DEFAULT_ICON;
+static const char *default_icon = artwork_pathname(PBOOT_DEFAULT_ICON);
 
 struct discovery_context {
        /* nothing at present */