Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Install custom package and build ISO

    Scheduled Pinned Locked Moved Development
    9 Posts 3 Posters 5.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      ardunio
      last edited by

      Hi
      I can build ISO by following http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso page.

      But I want to install some packages like squid and freeradius and rebuild a new ISO image.

      Should I put my custom ports in https://github.com/bsdperimeter/pfsense-tools/tree/master/pfPorts folder and add the list in the

      https://github.com/bsdperimeter/pfsense-tools/blob/master/pfPorts/buildports.RELENG_2_1 file ?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • A
        ardunio
        last edited by

        Jimp Can you help?

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          (a) Don't target people for help, the forum doesn't tell you when your name is mentioned anyhow so it doesn't make sense.

          (b) You can do it that way, or use PKG_INSTALL_PORTSPFS  (read through the code)

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • A
            ardunio
            last edited by

            @jimp:

            (a) Don't target people for help, the forum doesn't tell you when your name is mentioned anyhow so it doesn't make sense.

            (b) You can do it that way, or use PKG_INSTALL_PORTSPFS  (read through the code)

            Sorry but I was worried about you don't care.
            Thanks. I'll try it.

            1 Reply Last reply Reply Quote 0
            • A
              ardunio
              last edited by

              Hi again.

              How can I use the PKG_INSTALL_PORTSPFS variable?
              Can you give a sample for "apache13" port?

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                PKG_INSTALL_PORTSPFS="/usr/ports/whatever/portname"

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • A
                  ardunio
                  last edited by

                  Thanks a lot.
                  And another question is How can I configure a package before building ISO? For example, I want apache to start during pfSense booting.

                  1 Reply Last reply Reply Quote 0
                  • J
                    jamesc
                    last edited by

                    @ardunio:

                    Thanks a lot.
                    And another question is How can I configure a package before building ISO? For example, I want apache to start during pfSense booting.

                    This may help….

                    http://doc.pfsense.org/index.php/Executing_commands_at_boot_time

                    1 Reply Last reply Reply Quote 0
                    • A
                      ardunio
                      last edited by

                      My English isn't good so I probably couldn't explain :)
                      I mean;
                      When I install a custom port for pfSense, how can I configure it before building ISO image?
                      For example I installed MySQL and i want to configure it  to starting at startup like lighttpd.
                      Thanks.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.