# Imagebuilder questions

**URL:** <https://forum.gl-inet.com/t/imagebuilder-questions/20436>\
**Category:** Router\
**Created:** [March 7, 2022, 12:20pm UTC](https://forum.gl-inet.com/t/imagebuilder-questions/20436 "2022-03-07T12:20:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![elorimer](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/e/b77776/32.png) [@elorimer](https://forum.gl-inet.com/u/elorimer)\
**Post date:** [March 7, 2022, 12:20pm UTC](https://forum.gl-inet.com/t/imagebuilder-questions/20436/1 "2022-03-07T12:20:13Z")

</div>

I’ve been playing with imagebuilder to free up space on my Mango and have a couple of questions:

1. I can successfully delete gltertf and the associated database, and that frees up over 1M of space. Most of that is the database. Is there a way of excluding just the database, or shrinking it, and keeping gltertf?
2. I can delete most of the ipv6 files, but I cannot delete odhcpd-ivp6only. Is there a way of seeing which other package is holding on to it?
3. I cannot seem to get rid of nodogsplash.

This leaves me with 4M free after installing LUCI, which otherwise would leave me with around 2.4M free.

---

<div class="post-metadata">

**Author:** ![wcs2228](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/wcs2228/32/6112_2.png) [@wcs2228](https://forum.gl-inet.com/u/wcs2228)\
**Post date:** [March 7, 2022, 8:18pm UTC](https://forum.gl-inet.com/t/imagebuilder-questions/20436/2 "2022-03-07T20:18:57Z")

</div>

See Post #3 in this thread on how to use sqlite3 to purge data from _mac\_vendor.db_:

> [@Format of /etc/tertf/mac\_vendor.db](https://forum.gl-inet.com/t/format-of-etc-tertf-mac-vendor-db/19740):
>
> As has been noted [elsewhere](https://forum.gl-inet.com/t/gl-mt300n-v2-gl-inet-after-upgrade-to-3-201-free-space-6-0-mb/15291/33) mac\_vendor.db is pretty huge and uses up lots of space in /overlay (edit: at least on my MT300N-v2) I realize that others might be interested in prefix-to-vendor mappings, but I know what 4 devices connect to my travel router. I’d just as soon truncate the database so that all prefixes come from unknown vendors, and use that 920kB of space for something else. Thus: what’s the on-disk format of this file, so I can create a new one and reclaim the disk space.

_I do not work for and I do not have formal association with GL.iNet_

---

<div class="post-metadata">

**Author:** ![ckuethe](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/ckuethe/32/5770_2.png) [@ckuethe](https://forum.gl-inet.com/u/ckuethe)\
**Post date:** [March 7, 2022, 8:55pm UTC](https://forum.gl-inet.com/t/imagebuilder-questions/20436/3 "2022-03-07T20:55:20Z")

</div>

I just updated that thread - you don’t even need to use sqlite3, you can just make a symlink. That said, I have no use for the mac database and would be happy to leave it out of the ROM image, giving me another MB for other tools… but I’m lazy and don’t want to maintain my own build infra.

---

<div class="post-metadata">

**Author:** ![alzhao](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/a/5f9b8f/32.png) [@alzhao](https://forum.gl-inet.com/u/alzhao)\
**Post date:** [March 8, 2022, 11:08am UTC](https://forum.gl-inet.com/t/imagebuilder-questions/20436/4 "2022-03-08T11:08:34Z")

</div>

nodogsplash is hold by gl-portal.  
I cannot find any package holding odhcpd-ipv6only

```auto
root@GL-XE300:~# opkg whatdepends nodogsplash
Root set:
  nodogsplash
What depends on root set
        gl-portal 3.0.27-1 depends on nodogsplash

```

---

<div class="post-metadata">

**Author:** ![wcs2228](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/wcs2228/32/6112_2.png) [@wcs2228](https://forum.gl-inet.com/u/wcs2228)\
**Post date:** [March 8, 2022, 4:47pm UTC](https://forum.gl-inet.com/t/imagebuilder-questions/20436/5 "2022-03-08T16:47:48Z")

</div>

nodogsplash/portal looks to be small (~45K bytes)

_I do not work for and I do not have formal association with GL.iNet_

---

<div class="post-metadata">

**Author:** ![elorimer](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/e/b77776/32.png) [@elorimer](https://forum.gl-inet.com/u/elorimer)\
**Post date:** [April 7, 2022, 2:18am UTC](https://forum.gl-inet.com/t/imagebuilder-questions/20436/6 "2022-04-07T02:18:01Z")

</div>

Turned back to this recently. I’m trying to build firmware keeping gltertf but using a shrunken mac\_vendor.db.

I’ve shrunk mac\_vendor.db from a.most a meg to 12kb. After building one firmware, I have two versions of mac\_vendor.db in the subdirectories. I replaced those with the shrunken version, but when I build the firmware it seems to recreate the big version. I’ve built with the --offline option, so it can’t redownload the big version, but I still get firmware with the big version. I can’t figure out where it is being drawn from.

---

<div class="post-metadata">

**Author:** ![bruce](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bruce/32/35649_2.png) [@bruce](https://forum.gl-inet.com/u/bruce)\
**Post date:** [October 29, 2025, 4:16am UTC](https://forum.gl-inet.com/t/imagebuilder-questions/20436/7 "2025-10-29T04:16:51Z")

</div>


