Bug 25226

Summary: В базовом наборе пакетов spt отсутсвует sed
Product: Sisyphus Reporter: Evgeny Sinelnikov <sin>
Component: sptAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED WONTFIX QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: mike
Version: unstable   
Hardware: all   
OS: Linux   

Description Evgeny Sinelnikov 2011-03-14 09:52:07 MSK
При создании ovz-образа для p5 с помощью spt возникает ошибка из-за отсутствия sed в базовом наборе пакетов:
$ spt -v --number=1 --apt-config=/home/sin/etc/apt.conf.i586.p5.clean --image-type=tgz /srv/sin/ovz
...
<13>Mar 13 18:19:24 rpmi: libpasswdqc-1.1.3-alt1 installed
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
passwdqc-enforce: Invalid mode: users
error: execution of %post scriptlet from libpasswdqc-1.1.3-alt1 failed, exit status 1
<13>Mar 13 18:19:24 rpmi: pam-config-1.5.0.2-alt1 installed
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
pam_mktemp: Invalid mode: enabled
....
<13>Mar 13 18:19:25 rpmi: shadow-groups-1:4.0.4.1-alt9 installed
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
....
<13>Mar 13 18:19:26 rpmi: chrooted-resolv-0.3.1-alt2 installed
/etc/chroot.d/functions: line 207: sed: command not found
/etc/chroot.d/functions: line 236: sed: command not found
...
<13>Mar 13 18:19:27 rpmi: iputils-20071127-alt4 installed
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
...
<13>Mar 13 18:19:28 rpmi: portmap-1:6.0-alt1 installed
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
/etc/control.d/functions: line 28: sed: command not found
portmap: Invalid mode: local
...
<13>Mar 13 18:19:29 rpmi: mount-2.16.1-alt1 installed
/etc/control.d/functions: line 19: sed: command not found
/etc/control.d/functions: line 19: sed: command not found
...
hsh-install: Packages installation failed.

Я добавил соответствующую зависимость у себя в git:
git://git.altlinux.org/people/sin/packages/spt.git
Comment 1 Evgeny Sinelnikov 2011-03-14 10:01:50 MSK
Аналогичная проблема и для awk:
...
<13>Mar 14 06:56:25 rpmi: etcnet-0.9.10-alt2.1 installed
/usr/bin/alternatives-validate: line 61: awk: command not found
/usr/share/alternatives/functions: line 77: awk: command not found
hsh-install: Packages installation complete.
...
Comment 2 Michael Shigorin 2011-03-14 12:18:38 MSK
Наверное, пора убирать spt и предлагать всем перебираться на mkimage, перетаскивая профили.
Comment 3 Evgeny Sinelnikov 2011-03-17 15:01:51 MSK
А где-нибудь доступен mkimage-profile-ovz ?

По запросу
$ ssh git.alt find-package "mkimage-profile*"|grep ovz
ничего нет. Может у кого в ветках?

Инструмент для ovz вроде отработан, хотелось бы не терять его, а заменить, когда подготовим ovz-профиль для mkimage.
Comment 4 Michael Shigorin 2011-03-17 15:53:26 MSK
Мне вроде как не попадался, надо портировать.