]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/installer/hw.h
installer: Drop /var partition
[ipfire-2.x.git] / src / installer / hw.h
index f16b39cb6a04a0b86e50ec73573166092f62a3ea..e127f1f5100659906fec3982eae8b0cd165847f7 100644 (file)
@@ -24,8 +24,8 @@
 #include <libudev.h>
 
 #define DESTINATION_MOUNT_PATH        "/harddisk"
-#define SOURCE_MOUNT_PATH "/cdrom"
-#define SOURCE_TEST_FILE  SOURCE_MOUNT_PATH "/" VERSION ".media"
+#define SOURCE_MOUNT_PATH             "/cdrom"
+#define SOURCE_TEST_FILE              SOURCE_MOUNT_PATH "/" DISTRO_SNAME "-" DISTRO_VERSION ".media"
 
 #define HW_MAX_DISKS                 32
 #define STRING_SIZE                1024
@@ -84,7 +84,6 @@ struct hw_destination {
        char part_boot[DEV_SIZE];
        char part_swap[DEV_SIZE];
        char part_root[DEV_SIZE];
-       char part_data[DEV_SIZE];
        int part_boot_idx;
 
        int filesystem;
@@ -94,7 +93,6 @@ struct hw_destination {
        unsigned long long size_boot;
        unsigned long long size_swap;
        unsigned long long size_root;
-       unsigned long long size_data;
 };
 
 struct hw* hw_init();