mer-qtmediahub를hi3716m로 이식(1):mer-qtmediahub의rootfs제작

환경: ubuntu11.10
bootstrap 만들기:
sudomic-create-bootstrap -n trunk -k rpms -rhttp://repo.meego.com/MeeGo/builds/trunk/latest/repos/oss/ia32/packages/-o/home/zhanghui/Mer/buildrootfs/cache/mer-bootstrap
rootfs 만들기:
sudomic-image-creator --config=mer-qtmediahub-armv7l.ks --format=fs--bootstrap=/home/zhanghui/Mer/buildrootfs/cache/mer-bootstrap--cache=rpms --outdir=/home/zhanghui/Mer/mer-base-rootfs--arch=armv7l –pkgmgr=yum
설명:
--format=fs:outdir에서 현재 시간에 따라 새 디렉터리를 만들어서 rootfs를 저장합니다.
--pkgmgr=yum은yum을 사용한다.
기본값은 zypper를 사용하지만 zypper에는 BUG가 있다고 합니다.yum을 지정하지 않으면 오류가 발생합니다.
Registering package manager: zypp
Registering package manager: yum
Use package manager zypp
Use package manager zypp
Retrieving repo metadata from http://releases.merproject.org/releases/latest/builds/armv7l/packages ...
zypp architecture: armv7l
Problem count: 25

Problem:bash-1:3.2.51-1.4.Mer.armv7l 설치할 수 없음
mer-qtmediahub-armv7l.ks의 내용은 다음과 같습니다.
#-*-mic2-options-*- --arch=armv7l -*-mic2-options-*-
#
# Donot Edit! Generated by:
#kickstarter.py
#
langen_US.UTF-8
keyboardus
timezone--utc UTC
part/--size 500 --ondisk sda --fstype=ext4
rootpwrootme
user--name mer --groups audio,video --password rootme
repo--name=mer-core--baseurl=http://releases.merproject.org/releases/0.20120120.1/builds/armv7l/packages--save --debuginfo --source
repo--name=mer-qtmediahub--baseurl=http://repo.pub.meego.com/home%3a/stskeeps%3a/branches%3a/home%3a/vgrade%3a/qtmediahub/Mer_Core_armv7l/
repo--name=mer-PA2--baseurl=http://repo.pub.meego.com/home%3a/vgrade%3a/PA2/Mer_Core_armv7l/
%packages--excludedocs
@MerGraphics Common
@MerMinimal Xorg
@MerCore
xorg-x11-drv-evdev
xorg-x11-drv-vesa
xorg-x11-drv-fbdev
-cjkuni-fonts
qtmediahub
libdeclarative-multimedia
libqtdeclarative4-particles
-e2fsprogs
-kbd
-liberation-mono-fonts
-liberation-serif-fonts
-droid-sans-fonts
-droid-sans-mono-fonts
-liberation-fonts-common
-usbutils
-zypper
%end
%post
cat >/usr/share/xsessions/x-meego-qtmediahub.desktop << EOF
[DesktopEntry]
Version=1.0
Name=qtmediahubsession
Exec=/usr/bin/qtmediahub-opengl-usage false
Type=Application
EOF
#depmod-a
# Setsymlink pointing to .desktop file
ln -sfx-meego-qtmediahub.desktop/usr/share/xsessions/default.desktop
%end
%post--nochroot
%end

좋은 웹페이지 즐겨찾기