All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-06 16:10 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-06 16:10 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-06 19:07 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-06 19:07 UTC (permalink / raw)
  To: meta-arago

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-06 16:23 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-06 16:23 UTC (permalink / raw)
  To: meta-arago

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-06 16:21 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-06 16:21 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-06 16:14 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-06 16:14 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-06 16:06 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-06 16:06 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-05 17:32 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 17:32 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-05 17:30 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 17:30 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-05 17:17 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 17:17 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-05 17:17 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 17:17 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-05 16:37 Denys Dmytriyenko
  2014-02-05 17:16 ` Denys Dmytriyenko
  0 siblings, 1 reply; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 16:37 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-02-05 16:27 Denys Dmytriyenko
  0 siblings, 0 replies; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 16:27 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH] base-files: pre-create /run symlink to point to /var/run
@ 2014-01-31 20:09 Denys Dmytriyenko
  2014-01-31 22:44 ` Cooper Jr., Franklin
  0 siblings, 1 reply; 16+ messages in thread
From: Denys Dmytriyenko @ 2014-01-31 20:09 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Make it available on the first boot too, otherwise the first boot may fail
to automount SD card partitions. Normally, it gets created on the first
boot by volatiles init script and stays there on consecutive boots.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 .../recipes-core/base-files/base-files_3.0.14.bbappend        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
index c0ab069..4d831fd 100644
--- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,4 +1,13 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Pre-create /run symlink to point to /var/run at build time
+# This normally happens on first boot, but may be too late for automount,
+# which tries to create mount-points in /run
+# NOTE: This step is not required in Dora and up, due to reverse direction
+# of symlinking between /run and /var/run
+do_install_append () {
+	ln -sf /var/run ${D}/run
+}
-- 
1.8.3.2



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

end of thread, other threads:[~2014-02-06 19:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-06 16:10 [PATCH] base-files: pre-create /run symlink to point to /var/run Denys Dmytriyenko
  -- strict thread matches above, loose matches on Subject: below --
2014-02-06 19:07 Denys Dmytriyenko
2014-02-06 16:23 Denys Dmytriyenko
2014-02-06 16:21 Denys Dmytriyenko
2014-02-06 16:14 Denys Dmytriyenko
2014-02-06 16:06 Denys Dmytriyenko
2014-02-05 17:32 Denys Dmytriyenko
2014-02-05 17:30 Denys Dmytriyenko
2014-02-05 17:17 Denys Dmytriyenko
2014-02-05 17:17 Denys Dmytriyenko
2014-02-05 16:37 Denys Dmytriyenko
2014-02-05 17:16 ` Denys Dmytriyenko
2014-02-05 16:27 Denys Dmytriyenko
2014-01-31 20:09 Denys Dmytriyenko
2014-01-31 22:44 ` Cooper Jr., Franklin
2014-01-31 23:11   ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.