From: Anton Farygin <rider@basealt.ru>
To: "Михаил Тергоев" <fidel@altlinux.org>
Cc: devel@lists.altlinux.org
Subject: Re: [devel] nvidia-cuda-toolkit
Date: Wed, 6 Dec 2023 14:44:14 +0300
Message-ID: <1ae5a762-6e81-423c-bff9-37801502c54f@basealt.ru> (raw)
In-Reply-To: <2704551701862654@6zr3mkppzhlmnxt7.iva.yp-c.yandex.net>
On 06.12.2023 14:37, Михаил Тергоев wrote:
> При использовании Source0: null
> без вышеупомянутой магии, получаем:
>
> + echo 'Source #0 (null):'
> Source #0 (null):
> + /bin/tar -xf /usr/src/RPM/SOURCES/null
> /bin/tar: This does not look like a tar archive
> /bin/tar: Exiting with failure status due to previous errors
>
> Данная магия была взята из примеров спека Zerg с распаковкой оригинальных .run файлов, так как изначально я собирал версию 12.0.0 у которой оригинальный самораспаковывающийся архив размером меньше 4 гигабайт и можно было не перепаковывать его.
>
> Сейчас, с перепаковкой в tar.xz можно упростить убрав null:
>
> Source0: %name-%version.tar.xz
> Source1: %name-pkgconfig-%version.tar.xz
>
> %prep
> %setup -a1 -n %name
>
> Что уже проверил в хэшере и будет в итоговом варианте для отправки в Сизиф.
Отлично!
next prev parent reply other threads:[~2023-12-06 11:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-04 17:23 ` Михаил Тергоев
2023-12-05 7:59 ` Sergey V Turchin
2023-12-05 8:02 ` Sergey V Turchin
2023-12-05 8:06 ` Sergey V Turchin
2023-12-06 9:34 ` Михаил Тергоев
2023-12-06 11:00 ` Anton Farygin
2023-12-06 11:37 ` Михаил Тергоев
2023-12-06 11:44 ` Anton Farygin [this message]
2023-12-06 11:02 ` Anton Farygin
2023-12-06 12:23 ` Михаил Тергоев
2023-12-07 10:52 ` Sergey V Turchin
2023-12-07 11:06 ` Михаил Тергоев
2023-12-07 11:37 ` Anton Farygin
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=1ae5a762-6e81-423c-bff9-37801502c54f@basealt.ru \
--to=rider@basealt.ru \
--cc=devel@lists.altlinux.org \
--cc=fidel@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