1. 16 Feb, 2011 1 commit
  2. 08 Feb, 2011 5 commits
  3. 22 Jan, 2011 1 commit
  4. 21 Jan, 2011 1 commit
  5. 20 Jan, 2011 1 commit
  6. 08 Jan, 2011 1 commit
  7. 04 Jan, 2011 2 commits
  8. 29 Nov, 2010 1 commit
  9. 27 Nov, 2010 1 commit
  10. 26 Nov, 2010 1 commit
  11. 25 Nov, 2010 1 commit
  12. 24 Nov, 2010 1 commit
  13. 23 Nov, 2010 1 commit
    • Thierry Reding's avatar
      build-sys: allow cross-compilation · 9a60da28
      Thierry Reding authored
      When cross-compiling systemd, the introspection XML files fail to be
      generated because the systemd host binary is not executable. This patch
      works around this by putting the introspection XML data into separate
      ELF sections and extracting them from the binary when generating the XML
      files.
      
      The extracted XML data is passed through the strings utility in order to
      strip the trailing NUL character. A small AWK script is used to prepend
      the doctype and add the opening and closing node tags respectively.
      Finally, the C preprocessor is used to substitute the correct doctype
      information from the D-Bus header files.
      9a60da28
  14. 18 Nov, 2010 1 commit
  15. 17 Nov, 2010 2 commits
  16. 16 Nov, 2010 1 commit
  17. 15 Nov, 2010 3 commits
  18. 11 Nov, 2010 1 commit
  19. 25 Oct, 2010 1 commit
    • Andrew Edmunds's avatar
      ubuntu: Treat Ubuntu as a distinct distro in configure.ac etc · 858dae18
      Andrew Edmunds authored
      Previously Ubuntu was treated as being equivalent to Debian, but the two
      distributions require different behaviour in certain places.  This commit does
      not change the behaviour of systemd on either distro but it creates a
      framework for changes to be introduced by later commits.
      
      The following previously meant "Target is Debian or Ubuntu".
          * configure option "--with-distro=debian"
          * C preprocessor symbol "TARGET_DEBIAN"
          * Automake conditional "TARGET_DEBIAN"
      After this commit, all of the above are redefined to mean "Target is Debian"
      
      The following are introduced to mean "Target is Ubuntu".
          * configure option "--with-distro=ubuntu"
          * C preprocessor symbol "TARGET_UBUNTU"
          * Automake conditional "TARGET_UBUNTU"
      
      Most code written for Debian will also be applicable to Ubuntu. An extra
      Automake conditional "TARGET_DEBIAN_OR_UBUNTU" is introduced to avoid
      duplication of code that would otherwise occur.
      
      This commit updates configure.ac, Makefile.am and distro-specific source files
      in line with the above definitions.
      858dae18
  20. 07 Oct, 2010 1 commit
  21. 05 Oct, 2010 1 commit
    • Gustavo Sverzut Barbieri's avatar
      build-sys: Add compiler and linker flags to reduce binary size · 9b85fc6a
      Gustavo Sverzut Barbieri authored
      Reduce number of exported symbols with -fvisibility=hidden by default,
      this is safe as we're not generating and loadable library and our
      binaries should have no exported symbol other than main(). This alone
      reduces around 4kb per binary.
      
      It will also request GCC to emit every function and data variable in
      its own section, then request the linker to remove unused
      sections. This reduces the size of utility tools
      (/lib/systemd/systemd-*) by half or even more (in my system some
      binaries went from 84kb to 32kb).
      9b85fc6a
  22. 27 Sep, 2010 1 commit
    • Fabiano Fidencio's avatar
      sysv: optionally disable of SysV init/rcN.d support at compile time · 07459bb6
      Fabiano Fidencio authored
      This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to
      isolate code dealing with /etc/init.d and /etc/rcN.d for systems where
      it does not make sense (one that does not use sysv or one that is fully
      systemd native).
      
      The patch tries to be as little intrusive as possible, however in
      order to minimize the number of #ifdef'ed regions I've reordered some
      code in path-lookup.c:lookup_paths_init() where all code dealing with
      sysv is now isolated under running_as == MANAGER_SYSTEM as well.
      
      Moreover, In struct Service, some fields were rearranged to reduce
      the number of ifdefs.
      
      Lennart's suggestions were fixed and squashed with the original patch,
      that was sent by Gustavo Sverzut Barbieri (barbieri@profusion.mobi).
      07459bb6
  23. 23 Sep, 2010 1 commit
  24. 17 Sep, 2010 1 commit
  25. 16 Sep, 2010 1 commit
  26. 14 Sep, 2010 1 commit
  27. 06 Sep, 2010 1 commit
  28. 03 Sep, 2010 1 commit
  29. 26 Aug, 2010 1 commit
  30. 25 Aug, 2010 1 commit
  31. 11 Aug, 2010 1 commit
  32. 10 Aug, 2010 1 commit