move squashfs kernel options into module

This commit is contained in:
Daniel Barlow 2023-08-30 22:59:28 +01:00
parent de77635490
commit efa1919e04
5 changed files with 4 additions and 9 deletions

View file

@ -204,8 +204,6 @@
PARTITION_ADVANCED = "y"; PARTITION_ADVANCED = "y";
PRINTK_TIME = "y"; PRINTK_TIME = "y";
SQUASHFS = "y";
SQUASHFS_XZ = "y";
}; };
}; };
}; };

View file

@ -145,8 +145,6 @@
PARTITION_ADVANCED = "y"; PARTITION_ADVANCED = "y";
PRINTK_TIME = "y"; PRINTK_TIME = "y";
SQUASHFS = "y";
SQUASHFS_XZ = "y";
}; };
}; };
}; };

View file

@ -171,8 +171,6 @@
PARTITION_ADVANCED = "y"; PARTITION_ADVANCED = "y";
PRINTK_TIME = "y"; PRINTK_TIME = "y";
SQUASHFS = "y";
SQUASHFS_XZ = "y";
}; };
}; };
}; };

View file

@ -30,9 +30,6 @@
MTD_BLKDEVS = "y"; MTD_BLKDEVS = "y";
MTD_BLOCK = "y"; MTD_BLOCK = "y";
SQUASHFS = "y";
SQUASHFS_XZ = "y";
VIRTIO_MENU = "y"; VIRTIO_MENU = "y";
PCI = "y"; PCI = "y";
VIRTIO_PCI = "y"; VIRTIO_PCI = "y";

View file

@ -12,5 +12,9 @@ in
config = mkIf (config.rootfsType == "squashfs") { config = mkIf (config.rootfsType == "squashfs") {
system.outputs.rootfs = system.outputs.rootfs =
liminix.builders.squashfs config.filesystem.contents; liminix.builders.squashfs config.filesystem.contents;
kernel.config = {
SQUASHFS = "y";
SQUASHFS_XZ = "y";
};
}; };
} }