Baseline= 'tizen-3.0',
Active= True,
Mic2Options= '-f raw --fstab=uuid --copy-kernel --compress-disk-image=bz2 --generate-bmap',
- Part='mobile-mbr',
+ Part='headless',
Language= 'en_US.UTF-8',
Keyboard= 'us',
Timezone= 'Asia/Seoul',
UserGroups= "audio,video"
),
Wayland=dict(
- Part='mobile-mbr',
+ Part='headless',
UserGroups='audio,video',
Groups=[],
PostScripts=[],
),
Configurations=[
dict(
- Name='default',
+ Name='tizen-headless',
Architecture='armv7l',
Schedule= "*",
Active= True,
Platform= 'Wayland',
- Part= 'mobile-mbr',
+ Part= 'headless',
Mic2Options= '-f loop --pack-to=@NAME@.tar.gz',
- FileName= 'default',
+ FileName= 'tizen-headless-tm1',
Repos=['tizen-unified', 'tizen-base'],
Groups=[],
ExtraPackages= [],
Options='--ssl_verify=no')
],
Partitions=[
- dict(Name='mobile-mbr',
- Contents='part / --fstype="ext4" --size=3584 --ondisk=sda --active --label platform --fsoptions=defaults,noatime')
+ dict(Name='headless',
+ Contents='part / --size=2000 --ondisk mmcblk0p --fstype=ext4 --label=rootfs --extoptions=\"-J size=16\" \n\
+part /opt/ --size=1000 --ondisk mmcblk0p --fstype=ext4 --label=system-data --extoptions="-m 0" \n\
+part /boot/kernel/mod_tizen_tm1/lib/modules --size=12 --ondisk mmcblk0p --fstype=ext4 --label=modules \n')
]
)
return recipe
# configs.yaml
with open(yamlinfo.configs, 'w') as outfile:
- yaml.dump(config, outfile, default_flow_style=False)
+ yaml.safe_dump(config, outfile, default_flow_style=False)
# repo.yaml
if 'Repositories' in recipe:
repos = {}
repos['Repositories'] = recipe['Repositories']
with open(yamlinfo.repos, 'w') as outfile:
- yaml.dump(repos, outfile, default_flow_style=False)
+ yaml.safe_dump(repos, outfile, default_flow_style=False)
# partition info
if 'Partitions' in recipe: