Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37733373
en ru br
Репозитории ALT

Группа :: Система/Настройка/Прочее
Пакет: installer-feature-setup-plymouth

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

pax_global_header00006660000000000000000000000064122415421160014510gustar00rootroot0000000000000052 comment=77b89102e54cbbaa1019f6247862ffda570fda5d
installer-feature-setup-plymouth-0.5.2/000075500000000000000000000000001224154211600201555ustar00rootroot00000000000000installer-feature-setup-plymouth-0.5.2/.gear-rules000064400000000000000000000000071224154211600222210ustar00rootroot00000000000000tar: .
installer-feature-setup-plymouth-0.5.2/20-setup-plymouth1.sh000075500000000000000000000013601224154211600240330ustar00rootroot00000000000000#!/bin/sh -e

. install2-init-functions

for device in $(find /dev/ -name 'dm-*' -type b);
do
# don't use plymouth with luks
# if we can not check root mountpoint
[ -f /tmp/fstab ] || exit 0

uuid=$(blkid -o value -s UUID "$device")
fgrep "$uuid" "/tmp/fstab" &> /dev/null || continue
# don't use plymouth if / is placed on luks
grep -qe ".*$uuid.*[^[:alnum:]]/[^[:alnum:]]" "/tmp/fstab" && exit 0 ||:
done

# dont't use plymouth with sysvinit (m-p-d)
[ -f $destdir/etc/rc.d/init.d/README -o -f /image/.disk/commit ] || exit 0

CONFIG="$destdir/etc/plymouth/plymouthd.conf"
grep -q '^Theme=' "$CONFIG" || sed -i 's/#\([T\[]\)/\1/' "$CONFIG"

CONFIG="$destdir/etc/initrd.mk"
grep -q plymouth "$CONFIG" || echo 'FEATURES += plymouth' >> "$CONFIG"
installer-feature-setup-plymouth-0.5.2/90-setup-plymouth2.sh000075500000000000000000000014051224154211600240430ustar00rootroot00000000000000#!/bin/sh

. install2-init-functions

for device in $(find /dev/ -name 'dm-*' -type b);
do
# don't use plymouth with luks
# if we can not check root mountpoint
[ -f /tmp/fstab ] || exit 0

uuid=$(blkid -o value -s UUID "$device")
fgrep "$uuid" "/tmp/fstab" &> /dev/null || continue
# don't use plymouth if / is placed on luks
grep -qe ".*$uuid.*[^[:alnum:]]/[^[:alnum:]]" "/tmp/fstab" && exit 0 ||:
done

# dont't use plymouth with sysvinit (m-p-d)
[ -f $destdir/etc/rc.d/init.d/README -o -f /image/.disk/commit ] || exit 0

CONFIG="$destdir/etc/sysconfig/grub2"
grep -q drm_kms_helper /proc/modules || \
subst 's/\(LINUX_DEFAULT=.\)/\1vga=0x314 /' "$CONFIG"
grep -q quiet "$CONFIG" || subst 's/splash/quiet &/' "$CONFIG"
subst 's/splash=silent/splash/g' "$CONFIG"
installer-feature-setup-plymouth-0.5.2/installer-feature.spec000064400000000000000000000030651224154211600244630ustar00rootroot00000000000000Name: installer-feature-setup-plymouth
Version: 0.5.2
Release: alt1

Summary: Set up plymouth
License: GPL
Group: System/Configuration/Other
Url: http://www.altlinux.org/Installer/beans
BuildArch: noarch
Source: %name-%version.tar

%description
Set up environment plymouth

%prep
%setup

%install
%define hookdir %_datadir/install2/preinstall.d
mkdir -p %buildroot%hookdir
install -pm755 *.sh %buildroot%hookdir/

%files
%hookdir/*

%changelog
* Sat Nov 16 2013 Michael Shigorin <mike@altlinux.org> 0.5.2-alt1
- do use plymouth with sysvinit at least for m-p
(partially reverts 0.5-alt1)

* Thu Apr 18 2013 Mikhail Efremov <sem@altlinux.org> 0.5.1-alt1
- Disable plymouth if root on luks only.

* Thu Mar 21 2013 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.5-alt1
- don't use plymouth with sysvinit

* Thu Feb 07 2013 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.4-alt1
- don't setup plymouth if LUKS exists

* Wed Jun 13 2012 Michael Shigorin <mike@altlinux.org> 0.3.3-alt1
- add "quiet" option too

* Wed Jun 13 2012 Michael Shigorin <mike@altlinux.org> 0.3.2-alt1
- don't uncomment plymouth theme if that results in a duplicate

* Fri Jun 01 2012 Michael Shigorin <mike@altlinux.org> 0.3.1-alt1
- dropped an extra space in regexp causing it not to match

* Mon Nov 22 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.3-alt1
- setup initrd.mk resurrected

* Fri Nov 19 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.2-alt1
- setup initrd.mk removed: plymouth installs inintrd.mk.d/plymouth.mk

* Tue Nov 16 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.1-alt1
- furst build


 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin