From: "Антон Мидюков" <midyukov-anton@ya.ru> To: sisyphus@lists.altlinux.org Subject: Re: [sisyphus] сборка rpm-пакета & systemd Date: Mon, 6 Aug 2018 13:53:19 +0700 Message-ID: <e72de8c5-67af-8e1f-d8d1-20e0c9e8d3a7@ya.ru> (raw) In-Reply-To: <32824575-5e33-91ce-854b-76bf1b52d9cf@yandex.ru> 06.08.2018 13:23, Шенцев Алексей пишет: > Всем привет! > > При сборке пакета получаю такую ошибку: > > /bin/mkdir: cannot create directory '/usr/lib/systemd/system': > Permission denied Вообще, в Альте эта директория /lib/systemd/system представлена макросом %_unitdir > > > Предпологаю, что надо в спеке указать типа: > > > mkdir -p %buildroot/<хде_там_системд> > > > Но вот как правильно это сделать? > Не понятно, откуда взялась эта ошибка? Во время make install или вы сами в спеке отдали неверную команду. Отсюда и решение будет разным. Во втором случае: mkdir -p %buildroot%_unitdir В первом, нужно разбираться, как поменять переменную в Makefile. И тут опять варианты в зависимости от того, как этот Makefile сформировался. -- С уважением, Антон Мидюков <antohami@altlinux.org>
next prev parent reply other threads:[~2018-08-06 6:53 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-08-06 6:23 Шенцев Алексей 2018-08-06 6:53 ` Антон Мидюков [this message] 2018-08-06 8:38 ` Шенцев Алексей 2018-08-06 8:38 ` Шенцев Алексей 2018-08-06 8:48 ` Антон Мидюков 2018-08-06 9:00 ` Шенцев Алексей 2018-08-06 9:10 ` Антон Мидюков 2018-08-06 9:13 ` Шенцев Алексей 2018-08-06 9:28 ` Антон Мидюков 2018-08-06 12:12 ` Шенцев Алексей 2018-08-06 12:25 ` Andrey Cherepanov 2018-08-06 13:29 ` Andrew Borodin 2018-08-06 13:16 ` Антон Мидюков 2018-08-06 13:37 ` Шенцев Алексей
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=e72de8c5-67af-8e1f-d8d1-20e0c9e8d3a7@ya.ru \ --to=midyukov-anton@ya.ru \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git