Changeset 1ef3213 in mainline


Ignore:
Timestamp:
2019-08-17T12:49:43Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5852a5a
Parents:
2b2783b
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-27 11:47:57)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
Message:

Add tarball generator

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • meson.build

    r2b2783b r1ef3213  
    99    [ 'c', 'cpp' ],
    1010    default_options : ['buildtype=plain', 'c_std=gnu11', 'cpp_std=c++17', 'warning_level=3', 'werror=false', 'b_staticpic=false', 'default_library=shared', 'prefix=/' ],
     11    meson_version: '>=0.50.1',
    1112)
    1213
     
    2829)
    2930
     31# Tar's arguments make sure that the archive is reproducible.
     32tar = [
     33        find_program('tar'),
     34        '-c',
     35        '-f', '@OUTPUT@',
     36        '--mtime=1970-01-01 00:00:00Z',
     37        '--group=0',
     38        '--owner=0',
     39        '--numeric-owner',
     40        '--mode=go=rX,u+rw,a-s',
     41        '--no-acls',
     42        '--no-selinux',
     43        '--no-xattrs',
     44        '--format=ustar',
     45        '--transform', 's:@OUTDIR@/::',
     46        '@INPUT@',
     47]
    3048
    3149if get_option('default_library') == 'both'
  • uspace/app/barber/meson.build

    r2b2783b r1ef3213  
    3434)
    3535
     36_tarball = custom_target('barber_images.tar',
     37        input: _images,
     38        output: 'barber_images.tar',
     39        command: tar,
     40)
     41
     42# TODO
     43
    3644_images_zip = custom_target('barber_images.zip',
    3745        input : _images,
Note: See TracChangeset for help on using the changeset viewer.