From: Yuri Sedunov <aris@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] I: изменение макросов systemd и udev
Date: Thu, 30 May 2024 08:25:34 +0300
Message-ID: <7fecbec02f3a66af1a6aba597299c86e63ac5f1f.camel@altlinux.org> (raw)
In-Reply-To: <CAEdvWkTgFkUq9av746Eju5yff0VmCeWkCsXSmem3Z2eVnhNnqg@mail.gmail.com>
В Ср, 29/05/2024 в 21:54 +0300, Alexey Shabalin пишет:
> Тестовая пересборка c измененными макросами показала следующие
> результаты:
> Всего новых сломавшихся пакетов - 144.
>
> 123 пакета сломалось с диагностикой
> error: File not found by glob:
> /usr/src/tmp/foo-buildroot/usr/lib/systemd/system/*
> или
> File not found by glob: /usr/src/tmp/foo-buildroot/lib/udev/rules.d/*
> или
> No such file or directory: /usr/src/tmp/foo-
> buildroot/lib/tmpfiles.d/foo.conf
>
> cpupower-gui aris
-Dsystemddir=/lib/systemd
> gnome-compass aris
data/meson.build:install_data('90-magn.rules', install_dir:
'/lib/udev/rules.d')
> gnome-settings-daemon aris
-Dudev_dir='/lib/udev'
> libgmobile aris
> libinput aris
-Dudev_dir='/lib/udev'
> libwacom aris
-Dudev_dir='/lib/udev'
> pipewire aris
>
> Это связано с тем, что в секции %files используются макросы (типа
> %_unitdir), а в секции %build для сборочных систем используются пути
> (типа --with-systemdsystemunitdir=/lib/systemd/system). Нужно везде
> перейти на использование макросов.
...
> для systemd - /usr/lib/systemd есть %_systemd_dir
> (%_systemd_util_dir)
> Добавил в rpm-build новые макросы %_udev_dir (и как алиас
> %_udev_util_dir).
Почему не единообразно c с другими systemd'эшными макросами обозваны
новые? -- %_udevdir, %_systemddir.
--
Yuri N. Sedunov
next prev parent reply other threads:[~2024-05-30 5:25 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-29 18:54 Alexey Shabalin
2024-05-29 19:01 ` Alexey Shabalin
2024-05-29 23:19 ` Dmitry V. Levin
2024-05-30 11:06 ` Alexey Shabalin
2024-06-06 11:13 ` Yuri Sedunov
2024-06-20 14:41 ` Alexey Shabalin
2024-06-21 13:15 ` Alexey Shabalin
2024-07-03 14:24 ` Yuri Sedunov
2024-07-04 7:33 ` [devel] " Sergey V Turchin
2024-07-04 11:14 ` [devel] " Alexey Shabalin
2024-07-09 14:19 ` Alexey Shabalin
2024-07-15 8:10 ` [devel] " Sergey V Turchin
2024-07-15 12:12 ` [devel] " Alexey Shabalin
2024-05-30 11:16 ` Arseny Maslennikov
2024-05-30 11:27 ` Dmitry V. Levin
2024-05-30 17:56 ` Anton Farygin
2024-06-02 10:06 ` [devel] %_prefix и mailman Arseny Maslennikov
2024-05-30 5:25 ` Yuri Sedunov [this message]
2024-05-30 11:09 ` [devel] I: изменение макросов systemd и udev Alexey Shabalin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7fecbec02f3a66af1a6aba597299c86e63ac5f1f.camel@altlinux.org \
--to=aris@altlinux.org \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git