ALT Linux Distributions development
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: devel-distro@lists.altlinux.org
Subject: [devel-distro] про "fatal: not a git repository (or any parent up to mount point /)"
Date: Tue, 20 Aug 2019 17:39:04 +0300
Message-ID: <20190820143904.GN1682@imap.altlinux.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 983 bytes --]

	Здравствуйте.
Выясняли сейчас с boyarsh@ причину несобираемости приложенного
conf.d/alt-server.mk на aarch64 (при том, что он же идёт
собираться на x86_64).

Проблема оказалась в _определённой_ цели distro/alt-server,
в которой при этом могло оказаться лишь определение
target-specific variable:

distro/alt-server: monitoring = $(addprefix server-v/, 90-monitoring \
        zabbix-agent telegraf prometheus-node_exporter monit collectd nagios-nrpe)

...но собственно сборка конфигурации не производится,
вместо неё получаем несозданный симлинк build и совершенно
невнятный выхлоп вместо диагностики:

** ARCH: aarch64
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
make[1]: *** [lib/profile.mk:120: profile/populate] Ошибка 2

Надо что-то с таким будет сделать; пока не понял, что.

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info

[-- Attachment #2: alt-server.mk --]
[-- Type: text/plain, Size: 1448 bytes --]

ifeq (distro,$(IMAGE_CLASS))

ifeq (,$(filter-out i586 x86_64,$(ARCH)))
distro/alt-server: server_groups_x86 = $(addprefix centaurus/,\
        emulators freenx-server \
	ipmi netinst sogo 80-desktop mate  office pidgin vlc xorg)

ifeq (,$(filter-out x86_64,$(ARCH)))
distro/alt-server: server_groups_x86_64 = $(addprefix centaurus/,\
       freeipa-server  v12n-server )
distro/alt-server: +efi	use/efi/refind use/memtest
endif

# FIXME: generalize vm-profile
distro/alt-server: distro/.base mixin/alt-server +vmguest \
	use/bootloader/grub use/rescue/base \
	use/docs/license mixin/alt-server
	@$(call add,MAIN_GROUPS,$(server_groups_x86))
	@$(call add,MAIN_GROUPS,$(server_groups_x86_64))
	@$(call add,MAIN_LISTS,centaurus/disk-dvd)
	@$(call add,MAIN_LISTS,centaurus/disk-server-light)
	@$(call add,INSTALL2_PACKAGES,installer-feature-desktop-suspend-stage2)
	@$(call add,BASE_KMODULES,kvm virtualbox)
	@$(call add,CLEANUP_BASE_PACKAGES,acpid-events-power)
	@$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
	@$(call add,EFI_BOOTARGS,lang=ru_RU)
endif

distro/alt-server: monitoring = $(addprefix server-v/, 90-monitoring \
	zabbix-agent telegraf prometheus-node_exporter monit collectd nagios-nrpe)

ifeq (,$(filter-out e2k%,$(ARCH)))

distro/alt-server-401: distro/.alt-server-e2k use/e2k/401
	@$(call set,META_VOL_ID,ALT Server 401)

distro/alt-server-801: distro/.alt-server-e2k use/e2k/801
	@$(call set,META_VOL_ID,ALT Server 801)

endif

endif

                 reply	other threads:[~2019-08-20 14:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20190820143904.GN1682@imap.altlinux.org \
    --to=mike@altlinux.org \
    --cc=devel-distro@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 Distributions development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/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-distro devel-distro/ http://lore.altlinux.org/devel-distro \
		devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
	public-inbox-index devel-distro

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-distro


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git