ALT Linux Distributions development
 help / color / mirror / Atom feed
* [devel-distro] Переопределение дефолтного пункта меню в syslinux
@ 2020-11-06 16:19 Антон Мидюков
  2020-11-09  7:20 ` Sergey V Turchin
  0 siblings, 1 reply; 2+ messages in thread
From: Антон Мидюков @ 2020-11-06 16:19 UTC (permalink / raw)
  To: Sergey V Turchin; +Cc: Distributions development

Доброго времени суток

Заметил такой коммит:
commit f959bfba9c5527f6ae27bdf85553d4461275ecce
Author: Sergey V Turchin <zerg@altlinux.org>
Date:   Tue Oct 11 17:18:42 2016 +0300

     - add default item for live_rw

diff --git a/features.in/syslinux/cfg.in/32live_rw_default.cfg 
b/features.in/syslinux/cfg.in/32live_rw_default.cfg
new file mode 100644
index 0000000000..48b0d8311b
--- /dev/null
+++ b/features.in/syslinux/cfg.in/32live_rw_default.cfg
@@ -0,0 +1,2 @@
+default session
+

Такой костыль не нужен. Обратите внимание на коммит:

346e3c21a6d735ae42ec124b72140c0eb84daf4e

Example:
@$(call set,SYSLINUX_DEFAULT,harddisk)
@$(call xport,SYSLINUX_DEFAULT)

Но это в описании коммита, поэтому я исправился и написал в README, 
заодно убрав необходимость дополнительного экспорта:

http://git.altlinux.org/people/antohami/packages/mkimage-profiles.git?p=mkimage-profiles.git;a=commitdiff;h=de881fb4b6ed16b5ad76d6dc20b7228d9bab0e24;hp=1884e5dd15ef258863d7d7105819ed2feb3c7503

-- 
С уважением, Антон Мидюков <antohami@altlinux.org>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-09  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06 16:19 [devel-distro] Переопределение дефолтного пункта меню в syslinux Антон Мидюков
2020-11-09  7:20 ` Sergey V Turchin

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