Skip to content

Instantly share code, notes, and snippets.

@Grommish
Created April 8, 2021 04:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Grommish/8ec171ec0a49187a76c7879cd89e3be8 to your computer and use it in GitHub Desktop.
Save Grommish/8ec171ec0a49187a76c7879cd89e3be8 to your computer and use it in GitHub Desktop.
define Package/suricata6/postinst
#!/bin/bash /etc/rc.common
/usr/bin/python3 -m pip install --upgrade pip
/usr/bin/pip3 install suricata-update
/etc/init.d/suricata-update start
endef
@Grommish
Copy link
Author

Grommish commented Apr 8, 2021

Configuring kmod-ipt-offload.
Configuring urngd.
Configuring ppp-mod-pppoe.
Setting flags for package libc to hold.
Setting flags for package libgcc1 to hold.
Setting flags for package libatomic1 to hold.
Setting flags for package libpthread to hold.
Setting flags for package librt to hold.
cp -fpR /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/root-octeon /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/root.orig-octeon
/usr/bin/python3: No module named pip
/home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/root-octeon/usr/lib/opkg/info/suricata6.postinst-pkg: line 3: /usr/bin/pip3: No such file or directory
/home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/root-octeon/usr/lib/opkg/info/suricata6.postinst-pkg: line 4: /etc/init.d/suricata-update: No such file or directory
postinst script ./usr/lib/opkg/info/suricata6.postinst has failed with exit code 127
make[2]: *** [package/Makefile:72: package/install] Error 1
make[2]: Leaving directory '/home/grommish/openwrt'
make[1]: *** [package/Makefile:109: /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/grommish/openwrt'
make: *** [/home/grommish/openwrt/include/toplevel.mk:230: world] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment