Bug 25226 - В базовом наборе пакетов spt отсутсвует sed
: В базовом наборе пакетов spt отсутсвует sed
Status: CLOSED WONTFIX
: Sisyphus
(All bugs in Sisyphus/spt)
: unstable
: all Linux
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2011-03-14 09:52 by
Modified: 2011-03-17 15:53 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2011-03-14 09:52:07
При создании 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 From 2011-03-14 10:01:50 -------
Аналогичная проблема и для 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 From 2011-03-14 12:18:38 -------
Наверное, пора убирать spt и предлагать всем перебираться на mkimage,
перетаскивая профили.
------- Comment #3 From 2011-03-17 15:01:51 -------
А где-нибудь доступен mkimage-profile-ovz ?

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

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