Skip to content

Commit 2772469

Browse files
committed
[KiCad 10] Include the sym/fp lib tables in the config dir
- KiCad 10 needs them and the CLI can't create them. - Enables the use of kicad-cli to perform E/DRC
1 parent 1808197 commit 2772469

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

ki10/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ RUN apt-get -y update && \
1515
apt-get -y autoremove && \
1616
rm -rf /var/lib/apt/lists/* /var/cache/debconf/templates.dat-old /var/lib/dpkg/status-old && \
1717
rm -rf /usr/share/icons/Adwaita/ /*.deb
18+
19+
# KiCad 10 doesn't work without lib tables (i.e. CLI ERC fails, GUI asks to initialize, etc.)
20+
RUN export DEST=~/.config/kicad/`kicad_version.py | cut -d. -f1,2` && \
21+
mkdir -p ${DEST} && \
22+
cp /usr/share/kicad/template/fp-lib-table /usr/share/kicad/template/sym-lib-table ${DEST}

ki10_full/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ RUN apt-get -y update && \
1515
apt-get -y autoremove && \
1616
rm -rf /var/lib/apt/lists/* /var/cache/debconf/templates.dat-old /var/lib/dpkg/status-old && \
1717
rm -rf /usr/share/icons/Adwaita/ /*.deb
18+
19+
# KiCad 10 doesn't work without lib tables (i.e. CLI ERC fails, GUI asks to initialize, etc.)
20+
RUN export DEST=~/.config/kicad/`kicad_version.py | cut -d. -f1,2` && \
21+
mkdir -p ${DEST} && \
22+
cp /usr/share/kicad/template/fp-lib-table /usr/share/kicad/template/sym-lib-table ${DEST}

0 commit comments

Comments
 (0)