parent
34c83b7c3b
commit
bd002f2d25
1 changed files with 4 additions and 2 deletions
|
@ -12,7 +12,9 @@ runCommand "patos-rootfs"
|
|||
{
|
||||
inherit version;
|
||||
|
||||
buildInputs = with pkgs;[
|
||||
nativeBuildInputs = with pkgs; [
|
||||
stdenv.cc
|
||||
patchelf
|
||||
glibc
|
||||
binutils
|
||||
];
|
||||
|
@ -222,7 +224,7 @@ find $out -type f -executable -exec patchelf --set-interpreter /lib/ld-linux-x86
|
|||
patchelf --remove-rpath $out/usr/lib/ld-linux-x86-64.so.2
|
||||
|
||||
# strip binaries
|
||||
find $out -type f -executable -exec strip {} \;
|
||||
find $out -type f -executable -exec $STRIP {} \;
|
||||
find $out -type d -exec chmod 755 {} \;
|
||||
|
||||
# install kernel modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue