Готовый пакет:
Исправлена инсталляция sysv сервиса
Сборка пакетов во вложении выполнялась в p8/branch
# rpm -qpivl --changelog /home/user/RPM/RPMS/i586/earlyoom-1.2-alt3.i586.rpm
Name : earlyoom Relocations: (not relocatable)
Version : 1.2 Vendor: ALT Linux Team
Release : alt3 Build Date: Пн 28 янв 2019 13:49:50
Install date: (not installed) Build Host: blackhole
Group : Другие Source RPM: earlyoom-1.2-alt3.src.rpm
Size : 39318 License: MIT
Packager : Anton Midyukov <antohami@altlinux.org>
URL : http://github.com/rfjakob/earlyoom
Summary : Early OOM Daemon for Linux
Description :
The oom-killer generally has a bad reputation among Linux users.
This may be part of the reason Linux invokes it only when it has
absolutely no other choice. It will swap out the desktop
environment, drop the whole page cache and empty every buffer
before it will ultimately kill a process. At least that's what
I think what it will do. I have yet to be patient enough to wait
for it, sitting in front of an unresponsive system.
* Пн янв 28 2019 Speccyfighter <zxwarior@yandex.ru> 1.2-alt3
- Fix install sysv service
* Пт янв 25 2019 Anton Midyukov <antohami@altlinux.org> 1.2-alt2
- Added init script (Thanks Specyfighter)
* Вс янв 20 2019 Anton Midyukov <antohami@altlinux.org> 1.2-alt1
- Initial build (Closes: 35924)
-rw-r--r-- 1 root root 562 янв 28 13:49 /etc/default/earlyoom
-rwxr-xr-x 1 root root 1412 янв 26 02:01 /etc/rc.d/init.d/earlyoom
-rw-r--r-- 1 root root 233 янв 28 13:49 /lib/systemd/system/earlyoom.service
-rwxr-xr-x 1 root root 22108 янв 28 13:49 /usr/bin/earlyoom
drwxr-xr-x 2 root root 0 янв 28 13:49 /usr/share/doc/earlyoom-1.2
-rw-r--r-- 1 root root 1087 окт 28 18:32 /usr/share/doc/earlyoom-1.2/LICENSE
-rw-r--r-- 1 root root 11756 окт 28 18:32 /usr/share/doc/earlyoom-1.2/README.md
-rw-r--r-- 1 root root 2160 янв 28 13:49 /usr/share/man/man1/earlyoom.1.xz
# rpm -qpivl --changelog /home/user/RPM/SRPMS/earlyoom-1.2-alt3.src.rpm
Name : earlyoom Relocations: (not relocatable)
Version : 1.2 Vendor: ALT Linux Team
Release : alt3 Build Date: Пн 28 янв 2019 13:49:50
Install date: (not installed) Build Host: blackhole
Group : Другие Source RPM: (none)
Size : 105361 License: MIT
Packager : Anton Midyukov <antohami@altlinux.org>
URL : http://github.com/rfjakob/earlyoom
Summary : Early OOM Daemon for Linux
Description :
The oom-killer generally has a bad reputation among Linux users.
This may be part of the reason Linux invokes it only when it has
absolutely no other choice. It will swap out the desktop
environment, drop the whole page cache and empty every buffer
before it will ultimately kill a process. At least that's what
I think what it will do. I have yet to be patient enough to wait
for it, sitting in front of an unresponsive system.
* Пн янв 28 2019 Speccyfighter <zxwarior@yandex.ru> 1.2-alt3
- Fix install sysv service
* Пт янв 25 2019 Anton Midyukov <antohami@altlinux.org> 1.2-alt2
- Added init script (Thanks Specyfighter)
* Вс янв 20 2019 Anton Midyukov <antohami@altlinux.org> 1.2-alt1
- Initial build (Closes: 35924)
-rw-r--r-- 1 builder builder 1412 янв 26 02:01 earlyoom
-rw-r--r-- 1 builder builder 102400 янв 25 19:11 earlyoom-1.2.tar
-rw-r--r-- 1 builder builder 1549 янв 28 13:47 earlyoom.spec
# apt-get install /home/user/RPM/RPMS/i586/earlyoom-1.2-alt3.i586.rpm
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
Выбрано earlyoom для '/home/user/RPM/RPMS/i586/earlyoom-1.2-alt3.i586.rpm'
Следующие пакеты будут ОБНОВЛЕНЫ:
earlyoom
1 будет обновлено, 0 новых установлено, 0 пакетов будет удалено и 87 не будет обновлено.
Необходимо получить 0B/20,0kB архивов.
После распаковки потребуется дополнительно 0B дискового пространства.
Совершаем изменения...
Preparing... ##### [100%]
1: earlyoom ##### [100%]
Usage: earlyoom {start|stop|restart|status}
Running /usr/lib/rpm/posttrans-filetriggers
Завершено.
# /etc/rc.d/init.d/earlyoom restart
Stopping earlyoom service: [ DONE ]
Starting earlyoom service: [ DONE ]
# /etc/rc.d/init.d/earlyoom status
earlyoom is running
Пакеты во вложении.