From: Yureka <yuka@yuka.dev>
To: devel@spectrum-os.org
Cc: Yureka <yuka@yuka.dev>
Subject: [PATCH 1/2] increase partition sizes
Date: Sun, 12 Dec 2021 16:50:35 +0100 [thread overview]
Message-ID: <20211212155036.3624860-1-yuka@yuka.dev> (raw)
---
host/initramfs/live.nix | 2 +-
installer/default.nix | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/host/initramfs/live.nix b/host/initramfs/live.nix
index 6446593..5dc4f87 100644
--- a/host/initramfs/live.nix
+++ b/host/initramfs/live.nix
@@ -29,7 +29,7 @@ let
nativeBuildInputs = [ dosfstools mtools ];
passthru = { inherit uki; };
} ''
- truncate -s ${toString (100 * 1024 * 1024)} $out
+ truncate -s ${toString (150 * 1024 * 1024)} $out
mkfs.vfat $out
mmd -i $out ::/EFI ::/EFI/BOOT
mcopy -i $out ${uki} ::/EFI/BOOT/BOOTX64.EFI
diff --git a/installer/default.nix b/installer/default.nix
index 0685bdd..39933d9 100644
--- a/installer/default.nix
+++ b/installer/default.nix
@@ -35,7 +35,7 @@ let
eosimages = vmTools.runInLinuxVM (runCommand "eosimages.img" {
nativeBuildInputs = [ exfatprogs kmod util-linux ];
} ''
- truncate -s 4G "$out"
+ truncate -s 5G "$out"
mkfs.exfat -L eosimages "$out"
mkdir /mnt
modprobe loop
--
2.34.0
next reply other threads:[~2021-12-12 15:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-12 15:50 Yureka [this message]
2021-12-12 15:50 ` [PATCH 2/2] speed up installer image build Yureka
2021-12-16 2:38 ` Alyssa Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211212155036.3624860-1-yuka@yuka.dev \
--to=yuka@yuka.dev \
--cc=devel@spectrum-os.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/crosvm
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/nixpkgs
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
https://spectrum-os.org/git/www
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).