Update main.rs

- use mkinitcpio -P to have options to use more than one kernel.
This commit is contained in:
Philip Müller 2020-07-02 13:40:30 +02:00 committed by GitHub
parent b2dc7e628a
commit 922f9cccfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -434,7 +434,7 @@ fn create(command: args::CreateCommand) -> anyhow::Result<()> {
arch_chroot
.execute()
.arg(mount_point.path())
.args(&["mkinitcpio", "-p", "linux"])
.args(&["mkinitcpio", "-P"])
.run()
.context("Failed to run mkinitcpio - do you have the base and linux packages installed?")?;