Skip to main content

The Chromium Projects

Contributing CodeUsing the dev serverGit server-side informationSign inRecent Site ActivityReport AbusePrint Page





























Chromium OS‎ > ‎How Tos and Troubleshooting‎ > ‎


Adding a New Package





Here's how you add a new package to Chromium OS:


  1. Create an ebuild file for your package src/third_party/chromiumos-overlay/. See the ebuild(5) man page (from within your development chroot) and the other ebuilds in src/third_party/portage and src/third_party/chromiumos-overlay

  • for example, the ebuild file of systemtap is placed in src/third_party/chromiumos-overlay/dev-util/systemtap.
  • Upload the package to Localmirror of Google (require Google account).

  • Create a README.chromiumos file that describes the purpose of the package. If your package is a third-party package, document any custom patches that have been applied

  • Add a dependency to your new package in one of:

    • src/third_party/chromiumos-overlay/virtual/target-chromium-os

      • Includes the package in all images (base/release, developer, test)
    • src/third_party/chromiumos-overlay/virtual/target-chromium-os-dev

      • Includes the package in developer and test images
    • src/third_party/chromiumos-overlay/virtual/target-chromium-os-test

      • Includes the package in test images
    • src/third_party/chromiumos-overlay/virtual/target-chromium-os-sdk

      • Includes the package in the SDK itself
  • Increment the revision number of the ebuild that you modified so that incremental builds recognize the changes.


  • The source code of the package shouldn't be placed in the src/. emerge will download the package and store it in /var/lib/portage/distfiles-target/, and the code is compiled in /build/tegra2_seaboard/tmp/portage/. When porting a new package, we can put the package in /var/lib/portage/distfiles-target/.


    Once you're done, make sure your changes to do not break the build system. Then create a changelist and get it reviewed (see Contributing Code for details).



    Adding a package to a running Chromium OS system


    The easiest way to add a new package, or update a package is to start devserver on the build host, and use gmerge to build the package and install the results on the target device.


    See Using the dev server.



    Adding a package to the manifest


    See the Git server-side information site for information about how to add your package to a manifest.










    Comments
















    window.jstiming.load.tick('sjl');

    window.jstiming.load.tick('jl');

    sites.Searchbox.initialize(
    'sites-searchbox-search-button',
    "object":[]['object'],
    'search-site',
    "label":"Configure search options...","url":"/system/app/pages/admin/settings");

    gsites.HoverPopupMenu.createSiteDropdownMenus('sites-header-nav-dropdown', false);

    JOT_setupNav("7648876402527094", "Navigation", false);
    JOT_addListener('titleChange', 'JOT_NAVIGATION_titleChange', 'COMP_7648876402527094');

    JOT_setupNav("14720868319272995", "Quick links", false);
    JOT_addListener('titleChange', 'JOT_NAVIGATION_titleChange', 'COMP_14720868319272995');

    JOT_setupNav("19690813310444355", "Other sites", false);
    JOT_addListener('titleChange', 'JOT_NAVIGATION_titleChange', 'COMP_19690813310444355');

    new sites.CommentPane('//docs.google.com/comments/d/AAHRpnXvrAwjAfmld0ObrebBiGRq9_cryGv6IPam7eBsNX_n2DB_LKOUcP89HDY2xqNuts2R1ZIsl90rykm4ns5oigxG0jGtjiAWlKSf_--_s_XsBtbQFPObvo9AYw79HMJTWrLEXc9Xj/api/js?anon=true',
    false, false);

    setTimeout(function()
    var fingerprint = gsites.date.TimeZone.getFingerprint([1109635200000, 1128902400000, 1130657000000, 1143333000000, 1143806400000, 1145000000000, 1146380000000, 1152489600000, 1159800000000, 1159500000000, 1162095000000, 1162075000000, 1162105500000]);
    gsites.Xhr.send('http://www.chromium.org/_/tz', null, null, 'GET', null, null, afjstz: fingerprint );
    , 500);

    window.onload = function()
    if (false)
    JOT_setMobilePreview();

    var loadTimer = window.jstiming.load;
    loadTimer.tick("ol");
    loadTimer["name"] = "load," + webspace.page.type + ",user_page";
    window.jstiming.report(loadTimer, , 'http://csi.gstatic.com/csi');


    JOT_insertAnalyticsCode(false,
    false);

    var maestroRunner = new gsites.pages.view.SitesMaestroRunner(
    webspace, "en");
    maestroRunner.initListeners();
    maestroRunner.installEditRender();

    //<![CDATA[
    // Decorate any fastUI buttons on the page with a class of 'goog-button'.
    if (webspace.user.hasWriteAccess)
    JOT_decorateButtons();


    // Fires delayed events.
    (function() {
    JOT_fullyLoaded = true;
    var delayedEvents = JOT_delayedEvents;
    for (var x = 0; x

    JOT_postEvent('decorateGvizCharts');

    JOT_setupPostRenderingManager();

    JOT_postEvent('renderPlus', null, 'sites-chrome-main');

    sites.codeembed.init();


    window.jstiming.load.tick('render');
    JOT_postEvent('usercontentrendered', this);

    Popular posts from this blog

    Андора Зьмест Гісторыя | Палітыка | Адміністрацыйны падзел | Геаграфія | Эканоміка | Дэмаграфія | Крыніцы | Вонкавыя спасылкі | Навігацыйнае мэню"CIA World Factbook entry: Andorra"."Andorra 2008, Departament d'estadística d'Andorra"Андорарр

    J. J. Abrams Índice Traxectoria | Filmografía | Premios | Notas | Véxase tamén | Menú de navegacióne"J.J. Abrams: Biography"Arquivado"'Star Trek' sequel on track"Arquivado"J.J. Abrams Producing Samurai Jack Movie"Arquivado"EXCLUSIVE: J.J. Abrams Goes Into Warp Speed with Star Trek and Beyond"Arquivado"David Semel To Direct Jonah Nolan/J.J. Abrams' CBS Pilot 'Person Of Interest'"Arquivado"Fox orders J.J. Abrams pilot 'Alcatraz'"ArquivadoJ. J. AbramsJ. J. AbramsWorldCat81800131p24091041000XX116709414031616ma11226833654496ID052246713376222X511412nm00091900000 0001 1772 5428no98124254ID0000002883100650044xx0054597000141374297344064w64f2mjx14255303415344

    Сэнт-Люіс Вонкавыя спасылкі | Навігацыйнае мэню38°37′38″ пн. ш. 90°11′52″ з. д. / 38.62722° пн. ш. 90.19778° з. д. / 38.62722; -90.1977838°37′38″ пн. ш. 90°11′52″ з. д. / 38.62722° пн. ш. 90.19778° з. д. / 38.62722; -90.19778stlouis-mo.govСэнт-ЛюісAnnual Estimates of the Resident Population for Incorporated Places – U.S. Census Bureau, Population Division