Plymouth: works quite well with the X11 renderer and from a VT
I haven't figured out how to get it into the initrd correctly yet.
This commit is contained in:
parent
562cb3f460
commit
34b7ddafa8
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cairo, gtk, libdrm, libpng, pango, pkgconfig }:
|
{ stdenv, fetchurl, cairo, gtk, libdrm, libpng, makeWrapper, pango, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "plymouth-${version}";
|
name = "plymouth-${version}";
|
||||||
@ -9,32 +9,42 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "16vm3llgci7h63jaclfskj1ii61d8psq7ny2mncml6m3sghs9b8v";
|
sha256 = "16vm3llgci7h63jaclfskj1ii61d8psq7ny2mncml6m3sghs9b8v";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [ cairo gtk libdrm libpng makeWrapper pango pkgconfig ];
|
||||||
cairo gtk libdrm libpng pango pkgconfig
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
export DESTDIR=$out
|
export DESTDIR=$out
|
||||||
./configure -sbindir=$out/sbin \
|
./configure \
|
||||||
|
-bindir=$out/bin \
|
||||||
|
-sbindir=$out/sbin \
|
||||||
--prefix=$out \
|
--prefix=$out \
|
||||||
--exec-prefix=$out \
|
--exec-prefix=$out \
|
||||||
--libdir=$out/lib \
|
--libdir=$out/lib \
|
||||||
--libexecdir=$out/lib \
|
--libexecdir=$out/lib \
|
||||||
--with-system-root-install \
|
|
||||||
--enable-tracing \
|
--enable-tracing \
|
||||||
--with-rhgb-compat-link \
|
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var
|
--localstatedir=/var \
|
||||||
|
--without-system-root-install \
|
||||||
|
--enable-gtk
|
||||||
'';
|
'';
|
||||||
|
# --enable-systemd-integration
|
||||||
|
# -datadir=/share \
|
||||||
|
# --with-rhgb-compat-link \
|
||||||
|
|
||||||
|
preInstall = "mkdir -p $out/bin $out/sbin";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cd $out/$out
|
cd $out/$out
|
||||||
mv bin/* $out/bin
|
mv bin/* $out/bin
|
||||||
mv sbin/* $out/sbin
|
mv sbin/* $out/sbin
|
||||||
|
|
||||||
rmdir bin
|
rmdir bin
|
||||||
rmdir sbin
|
rmdir sbin
|
||||||
mv * $out/
|
mv * $out/
|
||||||
|
sed -e "s#> $output##" \
|
||||||
|
-e "s#> /dev/stderr##" \
|
||||||
|
-i $out/lib/plymouth/plymouth-populate-initrd
|
||||||
|
wrapProgram $out/lib/plymouth/plymouth-populate-initrd \
|
||||||
|
--set PATH $PATH:$out/bin:$out/sbin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user