Hi Ed,
On Wed, Jul 23, 2014 at 8:38 PM, Bartosh, Eduard <[email protected]> wrote: > Hi Vitaly, > > > > Congratulations for getting first ivi arm image! > > If you’re interested in getting it into IVI releases let me know please. I > can help with this. > It's interested for us but I plan to discuss this some time later. > > BTW, is it bootable? > Just now I have only shell in console and I work on Wayland. > which hw do you use? > > > > Regards, > > Ed > With best regards, > > > *From:* Vitaly Chernooky [mailto:[email protected]] > *Sent:* Wednesday, July 23, 2014 5:08 PM > *To:* Bartosh, Eduard > *Cc:* Roman Kubiak; [email protected] > > *Subject:* Re: [Dev] mic: Unable to find package: gstreamer-vaapi > > > > Hi Ed, > > > > I had used this your suggestion and finally got ivi-arm image. > > > > Thank you very much > > > > With best regards, > > > > On Tue, Jul 22, 2014 at 2:35 PM, Bartosh, Eduard <[email protected]> > wrote: > > To get around this particular problem you don’t need to mirror anything. > I’d suggest to comment out IVI Middleware in .ks file and add all packages > from this group except of grstreamer-vaapi into .ks file. That should solve > the issue. > > > > *From:* Dev [mailto:[email protected]] *On Behalf Of *Roman > Kubiak > *Sent:* Tuesday, July 22, 2014 1:08 PM > *To:* [email protected] > > > *Subject:* Re: [Dev] mic: Unable to find package: gstreamer-vaapi > > > > YOu can get around the problem easily, here is an extract from a WIki page > i wrote: > > - Mirror the current Live repository with ARM rpms for Tizen common > from > > http://download.tizen.org/snapshots/tizen/common/common-wayland-arm/latest/repos/common/armv7l/packages/ > (you need the entire structure, just mirror that location somewhere on you > disk, for you convenience a copy is create on porucznik at: > > https://mcdsrvbld02.digital.local/~r.kubiak/common-m0/repos/common-wayland-arm/ > ) > - Once that's done you need to make sure that the package > mic-bootstrap is in the repository (once it was missing from the downloaded > repository, i copied some other ARM profile on download.tizen.org)The > repository needs to be rebuilt, download two XML files: > - The repository metadata needs to be fixed (it is currently broken > and MIC will refuse to build an image), you need 2 XML files > > http://download.tizen.org/snapshots/tizen/common/common-wayland-ia32/latest/repos/common/ia32/packages/repodata/group.xml > > http://download.tizen.org/snapshots/tizen/common/common-wayland-ia32/latest/repos/common/ia32/packages/repodata/patterns.xml > place them in the repodata directory of the downloaded structure. > # cp patterns.xml group.xml repodata/ > I had to edit the patterns.xml and remove the <rpm:entry > <http://rpmentry> name="intel-gpu-tools"/> tag (it causes a dependency > problem for mic later on) > To rebuild the repository data, cd into the directory that you > downloaded and run (you need the createrepo package > # createrepo -g repodata/groups.xml > # modifyrepo repodata/patterns.xml > - Download the .ks file for the profile you want to use (there > currenly is no ARM kickstart image, but you should use the IA32 kickstart > with little modifications): > https://mcdsrvbld02.digital.local/~r.kubiak/common-m0/common_02.06.2014.ks > - Change the repository path in the KS file to whatever location you > downloaded in the first step for example (assuming that i downloaded the > files to /media/porucznik/live/common/arm-wayland): > repo --name=common-wayland_armv7l > --baseurl=file:///media/porucznik/live/common/arm-wayland/ --ssl_verify=no > - If you are using your own custom KS or you are re-using a KS from a > different profile make sure that the below packages are installed (they > appear in the %packages section of your KS): > %packages > usb-server > usbutils > sdbd > security-server > %end > - Run mic as root or via sudo (replace KICKSTART_FILE with the path to > you kickstart and OUTPUT_DIRECTORY to a directory where you want the > resulting image to placed) > # mic create loop KICKSTART_FILE -A armv7l -o OUTPUT_DIRECTORY > This will create a .img file (depending on the KS it might have a > different name, if you are using the provided KS it will be platform.img, > if it's a different file name rename it to platform.img) > - > > On 07/22/2014 12:05 PM, Vitaly Chernooky wrote: > > Hi Ed, > > > > On Tue, Jul 22, 2014 at 12:52 PM, Bartosh, Eduard < > [email protected]> wrote: > > Hi Vitaly, > > > > One way is to build gstreamer-vaapi for arm and put into your local > repository. unfortunately it’s not easy as you have to address libva > dependency somehow. You can try to rebuild gstreamer-vaapi without libva > for example. Not sure it’s possible though. > > > > Hm, I will think about it. > > > > > > Another way is to analyze which package depends on gstreamer-vaapi and > remove it from the image if you don’t need it. > > > > I greped all spec files and didn't find any dependency on gstreamer-vaapi > . But mic still want it. Is there any other place where this dependency can > be present? > > > > With best regards, > > > > Hope it makes sense. > > > > Regards, > > Ed > > > > > > *From:* Vitaly Chernooky [mailto:[email protected]] > *Sent:* Tuesday, July 22, 2014 12:43 PM > > > *To:* Bartosh, Eduard > *Cc:* [email protected]; Andrii Anisov > *Subject:* Re: [Dev] mic: Unable to find package: gstreamer-vaapi > > > > Hi Ed, > > > > Can you suggest me a way how to resolve dependency on gstreamer-vaapi? > > > > My ks file: > > > > # -*-mic2-options-*- -f loop --pack-to=@[email protected] -*-mic2-options-*- > > > > # > > # Do not Edit! Generated by: > > # kickstarter.py > > # > > > > lang en_US.utf8 > > keyboard us > > timezone --utc America/Los_Angeles > > part / --size 3900 --ondisk sdb --fstype=ext4 --label platform --align > 1024 --fsoptions=noatime > > > > rootpw tizen > > xconfig --startxonboot > > bootloader --timeout=0 --append="rootwait rootfstype=ext4 quiet" > --ptable=gpt > > > > desktop --autologinuser=tizen > > user --name tizen --groups audio,video,weston-launch --password 'tizen' > > > > installerfw_plugins "bootloader,fstab" > > > > #repo --name=ivi --baseurl= > https://download.tizen.org/snapshots/tizen/ivi/ivi/@BUILD_ID@/repos/ivi/ia32/packages/ > > > repo --name=ivi --baseurl= > http://download.tizen.org/releases/daily/tizen/ivi/ivi/@BUILD_ID@/repos/arm/packages/ > > #repo --name=emul --baseurl= > https://download.tizen.org/snapshots/tizen/ivi/ivi/@BUILD_ID@/repos/emul/ia32/packages/ > > > repo --name=local > --baseurl=file:///home/vitalii.chernookyi/GBS-ROOT-tizen3.0_ivi-2/local/repos/tizen3.0_ivi/armv7l/ > --priority=1 > > repo --name=local-toolchain > --baseurl=file:///home/vitalii.chernookyi/tizen-3.0.ivi-2/pre-built/toolchain-arm/ > --priority=2 > > > > %packages > > > > @Base System > > @IVI Adaptation > > @IVI Packaging > > @IVI Middleware > > @Wayland > > @IVI UX Weston > > @Console Tools > > @IVI Applications > > > > #kernel-arm-ivi > > > > ivi-repos > > system-plugin-emulator > > setup-extlinux > > setup-ivi-clone > > -openssh > > -sdbd > > -emulator-yagl > > libwayland-egl > > mesa-libEGL > > mesa-libGLESv2 > > libgbm > > -gstreamer-vaapi > > %end > > > > %post > > # base-general.post > > > > ln -sf /proc/self/mounts /etc/mtab > > > > rm -rf /root/.zypp > > > > # workaround for bug PTREL-763 > > patch -p1 -d/ <<'EOF' > > diff -urN bad/etc/pam.d/systemd-user good/etc/pam.d/systemd-user > > --- bad/etc/pam.d/systemd-user 2014-03-20 10:01:36.657843073 +0100 > > +++ good/etc/pam.d/systemd-user 2014-03-20 10:06:51.586121696 +0100 > > @@ -4,5 +4,6 @@ > > > > account include system-auth > > session include system-auth > > +session required pam_systemd.so > > auth required pam_deny.so > > password required pam_deny.so > > EOF > > > > #Hack to temporarily disable net-config, which collides with settingsd. > Related to TIVI-2569 > > > > rm /usr/lib/systemd/system/multi-user.target.wants/net-config.service > > > > # rpm.post > > rm -f /var/lib/rpm/__db* > > rpmdb --rebuilddb > > > > # Initialize the native application database > > pkg_initdb > > > > # Add 'app' user to the weston-launch group > > /usr/sbin/groupmod -A app weston-launch > > > > # Temporary work around for bug in filesystem package resulting in the > 'app' user home > > # directory being only readable by root > > chown -R app:app /opt/home/app > > > > # Since weston-launch runs with the "User" label, the app > > # home dir must have the same label > > chsmack -a User /opt/home/app > > > > # Enable a logind session for 'app' user on seat0 (the default seat for > > # graphical sessions) > > mkdir -p /usr/lib/systemd/system/graphical.target.wants > > ln -s ../[email protected] > /usr/lib/systemd/system/graphical.target.wants/[email protected] > > ln -sf weston.target /usr/lib/systemd/user/default.target > > > > # Add over-riding environment to enable the web runtime to > > # run on an IVI image as a different user then the tizen user > > # Some notes on some of the variables: > > # - ELM_THEME is needed in order for the wrt to have visible content > > # - WRT_PROCESS_POOL_DISABLE is a work around for TIVI-2062 > > cat > /etc/sysconfig/wrt <<EOF > > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/5000/dbus/user_bus_socket > > XDG_RUNTIME_DIR=/run/user/5000 > > ELM_ENGINE=wayland_egl > > ECORE_EVAS_ENGINE=wayland_egl > > ELM_THEME=tizen-HD-light > > WRT_PROCESS_POOL_DISABLE=1 > > EOF > > > > # Use the same over-rides for the native prelaunch daemon > > cp /etc/sysconfig/wrt /etc/sysconfig/launchpad > > > > # Add a rule to ensure the app user has permissions to > > # open the graphics device > > cat > /etc/udev/rules.d/99-dri.rules <<EOF > > SUBSYSTEM=="drm", MODE="0666" > > EOF > > > > # Install and configure the boot-loader, /etc/fstab, and so on > > /usr/sbin/setup-ivi-boot > > > > # Migrate /etc/sysconfig/i18n until MIC is fixed to handle locale.conf > > # > > if [ -e /etc/sysconfig/i18n -a ! -e /etc/locale.conf ]; then > > unset LANG > > unset LC_CTYPE > > unset LC_NUMERIC > > unset LC_TIME > > unset LC_COLLATE > > unset LC_MONETARY > > unset LC_MESSAGES > > unset LC_PAPER > > unset LC_NAME > > unset LC_ADDRESS > > unset LC_TELEPHONE > > unset LC_MEASUREMENT > > unset LC_IDENTIFICATION > > . /etc/sysconfig/i18n >/dev/null 2>&1 || : > > [ -n "$LANG" ] && echo LANG=$LANG > /etc/locale.conf 2>&1 || : > > [ -n "$LC_CTYPE" ] && echo LC_CTYPE=$LC_CTYPE >> /etc/locale.conf > 2>&1 || : > > [ -n "$LC_NUMERIC" ] && echo LC_NUMERIC=$LC_NUMERIC >> > /etc/locale.conf 2>&1 || : > > [ -n "$LC_TIME" ] && echo LC_TIME=$LC_TIME >> /etc/locale.conf > 2>&1 || : > > [ -n "$LC_COLLATE" ] && echo LC_COLLATE=$LC_COLLATE >> > /etc/locale.conf 2>&1 || : > > [ -n "$LC_MONETARY" ] && echo LC_MONETARY=$LC_MONETARY >> > /etc/locale.conf 2>&1 || : > > [ -n "$LC_MESSAGES" ] && echo LC_MESSAGES=$LC_MESSAGES >> > /etc/locale.conf 2>&1 || : > > [ -n "$LC_PAPER" ] && echo LC_PAPER=$LC_PAPER >> /etc/locale.conf > 2>&1 || : > > [ -n "$LC_NAME" ] && echo LC_NAME=$LC_NAME >> /etc/locale.conf > 2>&1 || : > > [ -n "$LC_ADDRESS" ] && echo LC_ADDRESS=$LC_ADDRESS >> > /etc/locale.conf 2>&1 || : > > [ -n "$LC_TELEPHONE" ] && echo LC_TELEPHONE=$LC_TELEPHONE >> > /etc/locale.conf 2>&1 || : > > [ -n "$LC_MEASUREMENT" ] && echo LC_MEASUREMENT=$LC_MEASUREMENT >> > /etc/locale.conf 2>&1 || : > > [ -n "$LC_IDENTIFICATION" ] && echo > LC_IDENTIFICATION=$LC_IDENTIFICATION >> /etc/locale.conf 2>&1 || : > > fi > > rm -f /etc/sysconfig/i18n >/dev/null 2>&1 || : > > > > chsmack -a System::Shared /etc/locale.conf > > > > > > %end > > > > %post --nochroot > > # buildname.nochroot > > if [ -n "$IMG_NAME" ]; then > > echo "BUILD_ID=$IMG_NAME" >> $INSTALL_ROOT/etc/tizen-release > > echo "BUILD_ID=$IMG_NAME" >> $INSTALL_ROOT/etc/os-release > > fi > > > > > > %end > > > > > > With best regards, > > > > On Tue, Jul 22, 2014 at 12:27 PM, Bartosh, Eduard < > [email protected]> wrote: > > Hi Vitaly, > > > > gstreamer-vaapi is excluded from arm build in Tizen:IVI as far as I can > see here: > https://build.tizen.org/package/show?package=gstreamer-vaapi&project=Tizen%3AIVI > > > > The reason could be that it build depends on libva, which is not built for > arm either. > > > > Regards, > > Ed > > > > *From:* Vitaly Chernooky [mailto:[email protected]] > *Sent:* Tuesday, July 22, 2014 12:01 PM > *To:* Bartosh, Eduard > *Cc:* [email protected]; Andrii Anisov > *Subject:* Re: [Dev] mic: Unable to find package: gstreamer-vaapi > > > > Hi Ed, > > > > On Tue, Jul 22, 2014 at 9:54 AM, Bartosh, Eduard <[email protected]> > wrote: > > Hi Vitaly, > > > > Mic can’t find gstreamer-vaapi binary package in any of the repos, > mentioned in ivi-arm-j6.ks > > > > It's clear for me. I try to understand why mic try to find gstreamer-vaapi > and why it is missing if everything is complied successfully? > > > > Which repositories are you using? > > > > ivi-arm on tizen.org and local one. > > > > Can you show you .ks file? > > > > Regards, > > Ed > > > > *From:* Dev [mailto:[email protected]] *On Behalf Of *Vitaly > Chernooky > *Sent:* Monday, July 21, 2014 9:00 PM > *To:* [email protected]; Andrii Anisov > *Subject:* [Dev] mic: Unable to find package: gstreamer-vaapi > > > > Hi all! > > > > I successfully got all tizen packages compiled but when I try to create an > image I run into next trouble: > > > > $ sudo /usr/bin/mic -v -d create auto ivi-arm-j6.ks --outdir > mic-output/ivi-arm-j6/ --tmpfs > > --record-pkgs=name --runtime=native > > ... > > > > ERROR: Traceback (most recent call last): > > > File "/usr/bin/mic", line 241, in <module> > > > sys.exit(MIC.main()) > > > File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 257, in > main > > return self.cmd(args) > > > File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 280, in cmd > > > retval = self.onecmd(argv) > > > File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 412, in > onecmd > > return self._dispatch_cmd(handler, argv) > > > File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 1084, in > _dispatch_cmd > > return handler(argv) > > > File "/usr/bin/mic", line 123, in do_create > > > crobj.main(argv[1:]) > > > File "/usr/lib/pymodules/python2.7/mic/creator.py", line 319, in main > > > return self.cmd(args) > > > File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 280, in cmd > > > retval = self.onecmd(argv) > > > File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 412, in > onecmd > > return self._dispatch_cmd(handler, argv) > > > File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 1100, in > _dispatch_cmd > > return handler(argv[0], opts, *args) > > > File "/usr/lib/pymodules/python2.7/mic/creator.py", line 396, in do_auto > > > self.main(argv) > > > File "/usr/lib/pymodules/python2.7/mic/creator.py", line 319, in main > > > return self.cmd(args) > > > File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 280, in cmd > > > retval = self.onecmd(argv) > > > File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 412, in > onecmd > > return self._dispatch_cmd(handler, argv) > > > File "/usr/lib/pymodules/python2.7/mic/utils/cmdln.py", line 1100, in > _dispatch_cmd > > return handler(argv[0], opts, *args) > > > File "/usr/lib/mic/plugins/imager/loop_plugin.py", line 123, in > do_create > > creator.install() > > > File "/usr/lib/pymodules/python2.7/mic/imager/baseimager.py", line 1035, > in install > > self.__select_packages(pkg_manager) > > > File "/usr/lib/pymodules/python2.7/mic/imager/baseimager.py", line 892, > in __select_packages > > e = pkg_manager.selectPackage(pkg) > > > File "/usr/lib/mic/plugins/backend/zypppkgmgr.py", line 271, in > selectPackage > > raise CreatorError("Unable to find package: %s" % (pkg,)) > > > CreatorError: Unable to find package: gstreamer-vaapi > > $ > > > > Do anyone have any suggestion how to deal with it? > > > > > > -- > > *Vitaly Chernooky | Senior Developer - Product Engineering and Development* > > GlobalLogic > > P *+380.44.4929695 ext.1136 <%2B380.44.4929695%20ext.1136>* M *+380.98.7920568 > <%2B380.98.7920568>* S cvv_2k > > www.globallogic.com > > > > http://www.globallogic.com/email_disclaimer.txt > > --------------------------------------------------------------------- > Intel Finland Oy > Registered Address: PL 281, 00181 Helsinki > Business Identity Code: 0357606 - 4 > Domiciled in Helsinki > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. > > > _______________________________________________ > Dev mailing list > [email protected] > https://lists.tizen.org/listinfo/dev > > > > > > -- > > *Vitaly Chernooky | Senior Developer - Product Engineering and Development* > > GlobalLogic > > P *+380.44.4929695 ext.1136 <%2B380.44.4929695%20ext.1136>* M *+380.98.7920568 > <%2B380.98.7920568>* S cvv_2k > > www.globallogic.com > > > > http://www.globallogic.com/email_disclaimer.txt > > --------------------------------------------------------------------- > Intel Finland Oy > Registered Address: PL 281, 00181 Helsinki > Business Identity Code: 0357606 - 4 > Domiciled in Helsinki > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. > > > > > > -- > > *Vitaly Chernooky | Senior Developer - Product Engineering and Development* > > GlobalLogic > > P *+380.44.4929695 ext.1136 <%2B380.44.4929695%20ext.1136>* M *+380.98.7920568 > <%2B380.98.7920568>* S cvv_2k > > www.globallogic.com > > > > http://www.globallogic.com/email_disclaimer.txt > > --------------------------------------------------------------------- > Intel Finland Oy > Registered Address: PL 281, 00181 Helsinki > Business Identity Code: 0357606 - 4 > Domiciled in Helsinki > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. > > > _______________________________________________ > Dev mailing list > [email protected] > https://lists.tizen.org/listinfo/dev > > > > > > -- > > *Vitaly Chernooky | Senior Developer - Product Engineering and Development* > > GlobalLogic > > P *+380.44.4929695 ext.1136 <%2B380.44.4929695%20ext.1136>* M *+380.98.7920568 > <%2B380.98.7920568>* S cvv_2k > > www.globallogic.com > > > > http://www.globallogic.com/email_disclaimer.txt > > > > _______________________________________________ > > Dev mailing list > > [email protected] > > https://lists.tizen.org/listinfo/dev > > > > -- > > -------------- > > Roman Kubiak > > -------------- > > --------------------------------------------------------------------- > Intel Finland Oy > Registered Address: PL 281, 00181 Helsinki > Business Identity Code: 0357606 - 4 > Domiciled in Helsinki > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. > > > _______________________________________________ > Dev mailing list > [email protected] > https://lists.tizen.org/listinfo/dev > > > > > > -- > > *Vitaly Chernooky | Senior Developer - Product Engineering and Development* > > GlobalLogic > > P *+380.44.4929695 ext.1136 <%2B380.44.4929695%20ext.1136>* M *+380.98.7920568 > <%2B380.98.7920568>* S cvv_2k > > www.globallogic.com > > > > http://www.globallogic.com/email_disclaimer.txt > > --------------------------------------------------------------------- > Intel Finland Oy > Registered Address: PL 281, 00181 Helsinki > Business Identity Code: 0357606 - 4 > Domiciled in Helsinki > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. > -- *Vitaly Chernooky | Senior Developer - Product Engineering and Development* GlobalLogic P *+380.44.4929695 ext.1136* M *+380.98.7920568* S cvv_2k www.globallogic.com http://www.globallogic.com/email_disclaimer.txt
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
