OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of acik »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - acik

Pages: [1]
1
Development and Code Review / Building tools architecture
« on: December 16, 2016, 02:24:59 pm »
Hi
I achieved to build a cdrom image today. But I'm a little bit confused about building steps.
These are my steps.

1. I cloned the following repos and checkout to proper branches or tags. (stable/16.7, 16.7.11)

2. Run make base and builded base binaries successfully.

3. Run make kernel and got ctfconvert errors for all objects. I made a little research and added nomakeoptions WITH_CTF to kernel's config file SMP. And it is builded successfully.

4. Run make ports, got ERROR 1 somewhere and run it again. After hours, it is builded successfully.

5. Run make core with no problem.

5. Finally run make cdrom and got the cdrom image seamlessly. I installed and played it and didn't see any problem.

Now, my questions,
1. I wanted to add a custom port to my cdrom image. (mysql56-server)
I added a "databases/mysql56-server" entry to the ports.conf file and run make ports and make cdrom again. I see it is builded and packaged in /tmp/sets/package* file but doesn't seem in the image. I see the variable "CORE_DEPENDS" that has a package list in the core repo's Makefile and added mysql56-server to there. Committed with git and run make core and make cdrom again but the result is the same. I didn't appear.
Are my inferences and order of steps right? What should I do to add a port?

2. I didn't see any log file after builds. For instance, when It is broken while building ports, I wanted to see the error clearly. At which port? Which reason etc.  Should I define it in the configuration files or use script tool or something?

Thanks in advance.
Regards.

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2