don't put all of util-linux in recovery
it adds ~ 5MB to the image size
This commit is contained in:
parent
1781d4b6e4
commit
b09723345c
1 changed files with 6 additions and 2 deletions
|
@ -4,7 +4,11 @@ let
|
|||
svc = config.system.service;
|
||||
inherit (pkgs.pseudofile) dir symlink;
|
||||
inherit (pkgs.liminix.services) oneshot longrun bundle target;
|
||||
|
||||
some-util-linux = pkgs.runCommand "some-util-linux" {} ''
|
||||
mkdir -p $out/bin
|
||||
cd ${pkgs.util-linux-small}/bin
|
||||
cp fdisk sfdisk mkswap $out/bin
|
||||
'';
|
||||
in rec {
|
||||
imports = [
|
||||
../modules/network
|
||||
|
@ -76,7 +80,7 @@ in rec {
|
|||
btrfs-progs
|
||||
mtdutils # mtd, jffs2, ubifs
|
||||
dtc # you never know when you might need device tree stuff
|
||||
util-linux-small # fdisk
|
||||
some-util-linux
|
||||
libubootenv # fw_{set,print}env
|
||||
pciutils
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue