Driverfix license key [14 may 2017]  ❌

driverfix license key [14 may 2017]  ❌

Other company and product names may be trademarks or registered On Linux-x86_64, that file contains both the 64-bit driver binaries as well as 32-bit. 'download torrent ebony xxx bbw' Search, page 7 - XVIDEOS. Nina Lopez in Feb 14, 2017 - This Pin waq discovered by ohmgasm. Driver fix license. Com go8pm Watch Online Movies and Tv serial Malayalam Tamil Hindi and English 104 2010-09-02T19:56:49+02:00 Buy The Settlers Paths Kingdom trailer key. driverfix license key [14 may 2017]  ❌ /bin/mount -o remount,ro / /bin/mount -o remount,rw /

Beelink GT-R Mini Desktop Review

While designed for laptops, driverfix license key [14 may 2017]  ❌, the AMD Ryzen 5 3550H performs well in the mini desktop. The 3550H utilizes four multithreaded Zen+ (12 nm) cores clocked at 2.1 GHz. The CPU can burst to 3.7 GHz on a single core for short periods.

The GT-R allows users to easily "overclock" the system through the BIOS. Essentially, the BIOS contains settings to increase the overall power envelope from the stock 35 Watts to 54 Watts with a single option change. Users can also lower the TDP to 12 Watts if desired. We will measure performance in some benchmarks at both 35 Watt and 54 Watt.

The GT-R is in line with most 3550H-powered devices in the single-core test in both Cinebench R20 and R15. However, it falls behind in multi-core tests by about 7-10%. Upping the power limit to 54 Watts grants about a 7% bump in Cinebench R15 and roughly 11% in Cinebench R20.

These numbers fall behind Intel's Comet Lake-U platform; the GT-R performs about 15-20% worse than the Intel Core i5-10210U in the Intel NUC10i5FNK and about 20-30% worse than the Core i7-10710U used in the Intel NUC10i7FNH.

Over long workloads, tested by looping Cinebench R15's single-core test 50 times, the GT-R sees an initial dip in performance before spiking back up to about 670 cb and staying steady. When set to 54 W, the CPU remains stable at about driverfix license key [14 may 2017]  ❌ cb with on dip about halfway through the test.

Cinebench R15
Cinebench R20
Источник: [https://torrent-igruha.org/3551-portal.html]

driverfix license key [14 may 2017]  ❌ src="https://www.springboottutorial.com/images/Course-azure-az-900.png" alt="Image">

We love all our 100,000 learners, driverfix license key [14 may 2017]  ❌. We want to help you in every way possible.

We do not want you to get stuck because of a simple error.

This 50 page troubleshooting guide and faq is our way of thanking you for choosing to learn from in28Minutes.

How to use this guide?

1. Ensure You Have The Recommended Versions of Tools/Versions

First of all - Make sure you are using the right versions. Here is the recommended versions and errors if you don’t use them:

Recommended VersionErrors with other versionsMore Details
Java 8Unsupported major.minor version 52.0Basics
Eclipse Java EE Oxygenorg.codehaus.plexus.archiver.jar.Manifest.write (java.io.PrintWriter)Basics
Spring Boot 2.3.1.RELEASEMaven download issues. Hal Browser and Spring Boot Actuator are not working!Configure 2.3.1.RELEASE

2. Highly Probable Errors

Problems a high proportionate of our learners face.

3. Go for the complete list

If you are facing a exception or an error

  • Try searching with complete exception text
  • Try searching with a substring
  • Try searching with name of exception
  • Try searching driverfix license key [14 may 2017]  ❌ the direct cause of exception
  • Try searching for the framework and browse through the FAQ

If the troubleshooting guide does not help you solve your specific problem, raise a pull request with the problem and solution to improve the troubleshooting guide.

If you see a bug in the troubleshooting guide, raise a pull request to improve the troubleshooting guide.

If you are here for fun, continue reading.

This will be the best 20 minute investment you made in your programming career. You get an understanding of how you can troubleshoot a wide variety of issues.

Happy Troubleshooting.

  • Basics
  • Maven
  • Eclipse
  • Intellij and/or Mac
  • Spring
  • JSP Servlets and Spring MVC
  • Spring Boot
  • Hibernate, JPA and In-memory Database
  • Unit Testing
  • You and in28Minutes

Basics

This video can help with simple troubleshooting - https://www.youtube.com/watch?v=ZZw8XNz5N-c&t=6s

Tip : Ensure you have the right version of Java Installed

Recommended Java Version

  • Do not use Java 9. My recent tests show a few compatibility issues with Spring Boot 2.0+. Let’s wait for these get resolved
  • Java 8 for Spring Boot 2.0+ or Spring 5.0+
  • Java 7/Java 8 for earlier versions

Java JDK Version in Eclipse You can use JavaSE-1.8 to develop Java 8 and any lower version of Java applications. You can control the version of an application through maven.

https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html

Tip : Ensure you have the right version of Eclipse Installed

Recommended to use Eclipse Java EE version

Recommended Eclipse Version

  • Oxygen https://www.eclipse.org/downloads/packages/release/Oxygen/
  • Eclipse Java EE version

Tip : Troubleshooting Embedded Maven in Eclipse

This video is good start for your troubleshoot embedded maven issues in Eclipse - https://www.youtube.com/watch?v=ZZw8XNz5N-c&list=PLBBog2r6uMCSmMVTW_QmDLyASBvovyAO3&index=5

In Windows, use Window -> Preferences for Preferences.

There are typically 4 reasons for errors with Embedded Maven in Eclipse

Error : You are not using a JDK

Fix - You would need to configure Eclipse to use JDK instead of JRE

  • Go to Your Eclipse > (Window/Eclipse) -> Preferences -> Java -> Installed JRE’s
  • Change to use a JDK

Following links will help you if you have questions

  • http://stackoverflow.com/questions/13635563/setting-jdk-in-eclipse
  • http://stackoverflow.com/questions/19655184/no-compiler-is-provided-in-this-environment-perhaps-you-are-running-on-a-jre-ra
  • http://stackoverflow.com/questions/21099072/eclipse-maven-error-no-compiler-is-provided-in-this-environment

Error : You are not connected to internet or You are behind a proxy!

Maven downloads the dependencies (i.e. frameworks and libraries(jars)) from the Maven repository (repo.maven.apache.org).

This is the error you would see

Run this command at command prompt or terminal

If you are able to connect you should see this.

If you do not see above text you would need to check your internet connection.

If you are trying this at work, driverfix license key [14 may 2017]  ❌, you might be behind a proxy.

You need to talk to maven experts in your organization to figure out the right settings.

  • Here’s a discussion which will be useful
    • http://stackoverflow.com/questions/25911623/problems-using-maven-and-ssl-behind-proxy
    • http://stackoverflow.com/questions/5074063/maven-error-failure-to-transfer
  • The section below shows how to configure a driverfix license key [14 may 2017]  ❌ in Eclipse
Configuring a Proxy

Maven plugin uses a settings file where the configuration can be set. Its path is available in Eclipse at Window -> Preferences -> Maven -> User Settings. If the file doesn’t exist, create it and put on something like the example below:

Error : Files Downloaded by Maven are Corrupt

Typical Errors

Options that can be tried are listed below:

Force Update of Snapshots/Release
  • Right click on your project -> Maven -> Update Project -> Use “Force Update of Snapshots/Releases” -> Check this checkbox
Purge Your Maven Repository

This can be done in two ways

  • Inside Eclipse - Right click on the project > Run as Maven Build > dependency:purge-local-repository

  • From Command Prompt cd to the project of the folder

    Delete your local repository

    This will be last resort

    Error : org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWriter)

    Reason - You are using an old version of Eclipse without the latest maven archiver plugin

    You get this error

    Recommended Actions

    • Recommended - Download latest version of Eclipse
    • Other option - It might be a problem with your specific version of eclipse : https://github.com/tesla/m2eclipse-mavenarchiver/issues/9. You can try updating m2e.
      • Eclipse > Goto Intall New Software then input https://otto.takari.io/content/sites/m2e.extras/m2eclipse-mavenarchiver/0.17.0/N/LATEST/ and continue.
      • Go ahead and install the plugin

    For more information read these

    • https://stackoverflow.com/questions/37936646/eclipse-2-0-2-and-maven-0-17-configuration
    • https://github.com/tesla/m2eclipse-mavenarchiver/issues/8

    Error : Unsupported major.minor version 52.0

    Reason - You are using an driverfix license key [14 may 2017]  ❌ version of JDK

    You would get this error

    This error happens when you try to run code compiled using JDK 8 in a lesser version of JDK or JRE.

    Fix

    • If you do not have JDK 8, go driverfix license key [14 may 2017]  ❌ an install it.
    • Configure Eclipse to use JDK 8. Refer to “You are not using a JDK” section to find out how to configure JDK 8

    Tip : Your Project Maven configuration should be configured to compile at Java 8

    If you are using Spring Boot, check configuration in Approach 1.

    If you are doing a JSP/Servlet or a Spring MVC course without using Spring Boot use Approach 2.

    Approach 1 : Spring Boot Project

    In pom.xml, the property java.version should be set to 1.8.

    Approach 2: Non Spring Boot Project

    In pom.xml, the source and target of maven-compiler-plugin should be set to 1.8

    Error : On Maven > Update Project, Driverfix license key [14 may 2017]  ❌ 1.4 is auto selected

    Ensure that you have the latest version of Eclipse and Java installed.

    Error : Changes you made are not reflected

    • Did you restart the server?
    • Did you stop and start the server?
    • Did you reload your web page?

    Changes to configuration and web.xml are reflected only when you completely restart the server.

    Q : What should I do when some other application is using default port 8080?

    You have two options

    • Option 1 - Identify and stop the process that’s listening on port 8080 or
    • Option 2 - Configure this application to listen on another port.
    Option 1 - Kill
    • In Eclipse console tab, on the right hand side, click the double cross icon (Kill all terminated launches). You should see the running program highlighted by a red terminate button. You can kill the red button to kill the running application.
    • In windows, Use Ctrl + Shift + Esc to launch windows task manager. Kill all java.exe or javaw.exe
    • In Mac, You can use one of these commands to find the PID of process using 8080
    • After you have the PID, execute the command below:
    Option 2 - Switch Port

    Add a property in application.properties

    You have two options

    • Option 1 - Identify and stop the process that’s listening on port 8080 or
    • Option 2 - Configure this application to listen on another port.
    Option 1 - Kill
    • In Eclipse console tab, driverfix license key [14 may 2017]  ❌, on the right hand side, click the double cross icon (Kill all terminated launches). You should see Football Manager 2020 latest Archives running program highlighted by a red terminate button. You can kill the red button to kill the running application.
    • In windows, Use Ctrl + Shift + Esc to launch windows task manager. Kill all java.exe or javaw.exe
    • In Mac, You can use one of these commands to find the PID of process using 8080
    • After you have the PID, execute the command below:
    Option 2 - Switch Port

    Option 2a - change pom.xml. port is changed to 8081.

    Option 2b - Instead of tomcat7:run use the command below to run the application, driverfix license key [14 may 2017]  ❌. This will run it on port 8081

    Q : Do I need to install Tomcat seperately for this course?

    During the course we would configure a tomcat plugin or embedded tomcat (in Spring Boot courses), which will download tomcat 7 and use it.

    You don’t need Tomcat installed on your system.

    Q : Why do we use this specific project structure in all our courses?

    We follow maven standard project structure.

    We recommend you spend sometime understanding this directory layout

    • https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html.

    Q : What software do you use for your diagrams or Mind Maps?

    Its called MindMup. https://www.mindmup.com/

    I loved the first version of it. And am finding it difficult to adapt to the second version. But as usual, we programmers find a way :)

    Q : How to debug the application?

    Instead of Run as -> Maven application, use Debug as -> Maven application. Add your breakpoints. You should be all set.

    If you are using Spring Boot and Running using Run as -> Java application, then you can use Debug as -> Java Application. Add your breakpoints. You should be all set.

    Q : How do I configure auto restarting the server whenever source code changes?

    If you are using Spring Boot, check configuration in Approach 1.

    If you are doing a JSP/Servlet or a Spring MVC course without using Spring Boot use Approach 2.

    Approach 1 : Spring Boot Project

    In pom.xml, add a dependency on devtools and restart the server. You are all set.

    If you are using Intellij, there is one more configuration you need. Check out the intellij faq section.

    Approach 2: Non Spring Boot Project

    Use in your pom.xml maven plugin configuration. Restart the server. You are all set.

    Q : Can I use jboss instead driverfix license key [14 may 2017]  ❌ tomcat server?

    Yeah. You can find more details of how to use the jboss maven plugin at https://docs.jboss.org/jbossas/7/plugins/maven/latest/examples/deployment-example.html.

    Q : How to get the projects to run in Tomcat 8 or 9?

    I’ve done a quick search to find the plugins for tomcat 8 and tomcat 9. Here’s the best I could find

    • http://jtuts.com/2016/09/14/run-embedded-tomcat8-maven/

    See also here: https://stackoverflow.com/questions/26883836/tomcat-8-maven-plugin-for-java-8

    Maven

    Q : Why Maven?

    You don’t want to store all the libraries in your project!

    You want to tell I need A, B, C and you would want the tool to download the libraries and make them available to you.

    That’s Maven. The tool which you use to manage the libraries.

    If you need a new version of the library, you can change the version and your project is ready!

    Also, You don’t need to worry about what libraries your library needs to work. For example, Spring might need other libaries - logging, driverfix license key [14 may 2017]  ❌, xml etc.

    Once you declare Vidmore DVD Monster - August 2020 crack serial keygen dependency on Spring, Maven would download

    • Spring
    • And all dependencies of Spring

    Isn’t that cool?

    Q : What is ArtifactId and GroupId?

    You don’t want to store all the libraries in your project!

    So, you define dependencies in your pom.xml.

    Maven would download the dependencies and make them available for use in your project.

    But, how does Maven know what dependency to download?

    You need to tell it by giving the details of the dependency.

    Just like you can identify a Java class with a class name and a package name, you can identify a maven artifact by a GroupId and an ArtifactId.

    Q : How to know the exact string and name of a dependency and its artifactid?

    You can either google or you can visit our Github repository.

    You can find it on the home page of the section on github

    (Details would have been explained in the introduction video of the section)

    • For example - https://github.com/in28minutes/spring-web-services/tree/master/restful-web-services

    Q : What’s the difference between scope and phase?

    A scope specifies areas of the application, a dependency can be used. I can use the dependency in tests or I can used it in source code or I can use it when I run the application.

    Phase - Different steps in the build life cycle. You compile code first. Then compile test code. Then you run unit tests, Then you run integration tests and so on.

    Q : Maven - How did a specific jar end up in our deployable?

    In Maven terminology, what you are trying to see is called a dependency tree.

    You can type in the command mvn dependency:tree to figure it out.

    In eclipse. Right click on Project > Run as > Maven Build > dependency:tree

    Q : What is a SNAPSHOT as in 0.0.1-SNAPSHOT?

    A project in development uses a snapshot version. Once you have completed developing a version you would release it as 0.0.1 or 0.0.1-RELEASE.

    The next version in development will be 0.0.2-SNAPSHOT.

    Versioning convention is MAJOR.MINOR.FIX

    You can read more about it here : http://books.sonatype.com/mvnref-book/reference/pom-relationships-sect-pom-syntax.html

    Q : What is difference between runtime and provided scopes?

    Provided is when you expect the runtime environment to provide the dependency. For example, the Java ee api will be provided by tomcat or web sphere, driverfix license key [14 may 2017]  ❌. We declare it as provided.

    Let’s say you want to use a specific class from a jar in your code. However, you don’t want that jar to be part of your deployable unit. You want this jar to be provided by the runtime server - say tomcat or web sphere or web logic. In those cases, we use a scope of provided to indicate that

    • It is NOT included in Deployable unit
    • It is available while compiling code

    Let’s say We would want a jar to be only available when running the app and not when compiling it. We would use scope of runtime.

    • For example - business layer wants to use the api of data layer but not the implementation of data layer. We will make the implementation dependency of data layer as having a scope of runtime.

    Q : How can you always exclude a specific jar using Maven Exclusions?

    Maven exclusion is an awesome feature to exclude dependencies that we would not want to be part of our deployable

    A good example of using dependency exclusion is logging with Spring Boot. Default logging framework is logback. Driverfix license key [14 may 2017]  ❌, if I want to use log4j, I can exclude logback and add log4j.

    • You can read about it here : https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html#howto-configure-log4j-for-logging

    However, there is no concept of general exclusion in Maven.

    Dependency exclusion is specific to the dependency where it is declared.

    You have to exclude a jar in all the dependencies where it is declared as a dependency.

    Tip : Example of a multi layered maven project

    https://github.com/in28minutes/MavenIn28Minutes/tree/ master/4.web-application-with-maven

    Error : java.lang.ClassNotFoundException

    When ever you get this kind of exception. Find out which jar this class belongs to by doing a google - org.springframework.beans.factory.config.BeanDefinitionCustomizer

    In this example I’m missing spring-beans. So, find the right version and add it in, driverfix license key [14 may 2017]  ❌. You are all set.

    Q : Why are we not using Gradle?

    Gradle is awesome.

    If Gradle came before Maven, that is what I would have used for this course :)

    Maven has the first mover advantage and has retained it and hence the choice for this course. But, driverfix license key [14 may 2017]  ❌, if Gradle become more popular, I would be the first one to switch :)

    If you want to create a Spring Boot app with Gradle, this should help you get started - https://spring.io/guides/gs/gradle/

    Eclipse

    Q : How do I see the list of methods in a class?

    Its called outline. Short cut is Ctrl + O.

    Q : How do I become more efficient developer?

    First Step. Use Keyboard Shortcuts :)

    • Eclipse - https://shortcutworld.com/Eclipse/win/Eclipse-Helios_Shortcuts
    • Intellij - https://www.jetbrains.com/help/idea/keyboard-shortcuts-you-cannot-miss.html

    Q : How do you download source code to Eclipse so that you can see the code for frameworks?

    Its easy. Three Options.

    • Ctrl + Click on the Class Name and see if the jar is auto downloaded.
    • Right click on your project and go to Maven -> Download JavaDoc, you can also select Maven -> Download Sources
    • In Eclipse menus, open Window -> Preferences -> Maven and there you check the box with download sources and download javadoc as well.

    Intellij and/or Mac

    Q : How to install Maven on MAC OS X?

    Recommended Reading

    • Updating PATH environment variable - https://www.mkyong.com/maven/install-maven-on-mac-osx/

    Q : How do I import a Maven project into Intellij?

    Here’s a starting guide

    • https://www.jetbrains.com/help/idea/2016.1/importing-project-from-maven-model.html

    A few tips:

    • When importing project, check the option to “Search for projects recursively”
      • https://s31.postimg.org/gadu5g7l7/Options.png
    • After importing the project, wait for all background tasks to complete - “Resolving Maven dependencies” etc….
      • https://s31.postimg.org/z448g6v6z/Resolving_Dependencies.png

    Q : How do I create and run unit tests (JUnit) with Intellij?

    Here’s the complete guide

    • https://www.jetbrains.com/help/idea/creating-tests.html

    This can be another option for setting up a unit test

    • https://stackoverflow.com/questions/19330832/setting-up-junit-with-intellij-idea

    Error : I’m having a problem running jsps with Spring Boot in Intellij. What should I do?

    Changed the scope of the embedded Tomcat dependency to required. Hope this helps anyone using IntelliJ.

    Q : Why does Hot reload not work with Spring Boot DevTools and Intellij?

    Here’s a quick summary of what you have to do

    • Settings –> Build-Execution-Deployment –> Compiler –> enable “Make Project Automatically”.
    • Press ctrl+shift+A and search for the registry. Enable following configuration
    • Restart IntelliJ.

    Recommended Reading

    • https://dzone.com/articles/spring-boot-application-live-reload-hot-swap-with

    Spring

    Q : What is the need for a Component Scan?

    If you understand component scan, you understand Spring.

    The first step of defining Spring Beans is by adding the right annotation - @Component or @Service or @Repository.

    However, Spring does not know about the bean driverfix license key [14 may 2017]  ❌ it knows where to search for it, driverfix license key [14 may 2017]  ❌. This part of “telling Spring where to search” is called a Component Scan. You define the packages that have to be scanned.

    Once you define a Component Scan for a package, Spring would search the package and all its sub packages for components.

    Q : How do you define a Driverfix license key [14 may 2017]  ❌ Scan?

    Defining a Component Scan

    • If you are using Spring Boot, check configuration in Approach 1.
    • If you are doing a JSP/Servlet or a Spring MVC course without using Spring Boot use Approach 2.
    Approach 1 : Spring Boot Project

    Executive Summary

    • If your other packages hierarchies are below your main app with the @SpringBootApplication annotation, you’re covered by implicit components scan.
    • if the other packages do not reside under the main package, you should manually add them as @ComponentScan
    Detailed Example

    Consider the class below:

    is driverfix license key [14 may 2017]  ❌ on which is package

    defines an automatic component scan on package .

    You are fine if all your components are defined in the above package or a sub-package.

    However, let’s say one of the components is defined in a package

    In this case, you would need add the new package into component scan.

    Two Options

    • Define @ComponentScan(“com.in28minutes.springboot”) - This would scan the entire parent tree of com.in28minutes.springboot.
    • Or Define two specific Component Scans by using an array.
      • @ComponentScan({“com.in28minutes.springboot.basics.springbootin10steps”,”com.in28minutes.springboot.somethingelse”})

    Option 1

    Option 2

    Approach 2: Non Spring Boot Project

    In a non Spring Boot Project, we would typically define the component scan explicitly in an XML application context or a Java Application Context.

    Java Application Context

    Option 1

    Option 2

    XML Application Context

    or Specific Multiple Packages

    Q : How do I solve Errors related to Component Scan?

    Typical errors are shown below:

    Error Type 1 :

    Server starts up fine but

    • My URL is not working
    • My login url is not working
    • My todo url is not working

    Error Type 2

    OR

    Error Type 3

    Solution

    Three possible mistakes a. You have not added the right annotation - @Controller, @Repository or @Controller b. You have not added a component scan. c. The package of your component is not defined in component scan.

    You have two options 1) Add the annotation or component scan 2) Move the component to a package already under component scan

    Q : What is the difference between @Component and @ComponentScan?

    @Component and @ComponentScan are for different purposes.

    • @Component indicates that a class might be a candidate for creating a bean. Its like putting a hand up.
    • @ComponentScan is searching packages for Components. Trying to find out who all put their hands up.

    Q : How do I choose between Spring and CDI?

    It’s a choice between

    • A framework which popularised DI and IOC (Spring)​ vs
    • A Java EE standard(CDI) that came up as a result of the framework .

    I go for the framework, in this case, because it is cutting edge and provides me with more options. There are a lot of guys out there who prefer the standard (CDI) because - well - it is a standard.​

    The interesting part of the equation is Hibernate vs JPA brings up the same question. However, in Hibernate vs JPA, Driverfix license key [14 may 2017]  ❌ prefer JPA.

    Summary : There is no choice which driverfix license key [14 may 2017]  ❌ perfect. This is a 55-45 choice. Evaluate what your needs are and make a choice. The good thing is you cannot go wrong with either of the choices.

    Q : Why do we write a lot of unit tests in the Spring Master Class course?

    Think it this way. Functionally, does Spring allow you to do anything that you were not able to do earlier? The answer is NO, driverfix license key [14 may 2017]  ❌. Almost driverfix license key [14 may 2017]  ❌ that we are doing with Spring today could have been done without Spring 10 years back. So, what does Spring really bring to the table?

    Answer is better Design and Testability through Dependency Injection.

    To get into the right mindset with Spring, you need to think Testability and Loose Coupling.

    Q : What is the use of an @Bean annotation?

    Within a Spring Configuration [email protected] is used to define beans with custom configuration. You define the beans to be created!

    Q : What is the difference between @Bean and @Component?

    Here’s a quick fire answer

    • @Bean is used in Spring Configuration Files and Classes. It is used to directly instantiate or configure spring beans.
    • @Component is used with everything that you want Spring to manage. When Spring sees @Component, it creates a bean for you!

    @Component and @Bean do two quite different things, and shouldn’t be confused.

    Recommended Reading

    • https://stackoverflow.com/questions/10604298/spring-component-versus-bean

    An Extract

    • @Component (and @Service and @Repository) are used to auto-detect and auto-configure beans using classpath scanning. There’s an implicit one-to-one mapping between the annotated class and the bean (i.e. one bean per class). Control of wiring is quite limited with this approach, driverfix license key [14 may 2017]  ❌, since it’s purely declarative.
    • @Bean is used to explicitly declare a single bean, rather than letting Spring do it automatically as above. It decouples the declaration of the bean from the class definition, and lets you create and configure beans exactly how you choose

    Q : What is the difference between @Component, @Service and @Repository annotations?

    At the core, all of these define spring beans. However, you can further classify them based on the layer you are using them.

    • @Component - Generic Component
    • @Repository - encapsulating storage, driverfix license key [14 may 2017]  ❌, retrieval, and search behavior typically from a relational database
    • @Service - Business Service Facade
    • @Controller - Controller in MVC pattern

    In addition, these can be used at later point to add additional behaviour using AOP, for example.

    • For example, in case of @Repository, Spring automatically wires in JDBC Exception translation features.

    By using a specific annotation, you are giving more information to the framework about your intentions.

    Q : Can we use @Component annotation instead of @Service for Business Services?

    Heres an extract from spring documentation. Since we were creating a business layer service, we used @Service.

    “@Component serves as a generic stereotype for any Spring-managed component; whereas, @Repository, @Service, and @Controller serve as specializations of @Component for more specific use cases (e.g., in the persistence, service, and presentation layers, respectively). What this means is that you can annotate your component classes with @Component, but by annotating them with @Repository, driverfix license key [14 may 2017]  ❌, @Service, or @Controller instead, your classes are more properly suited for processing by tools or associating with aspects. For example, these stereotype annotations make ideal targets for pointcuts. Of course, it is also possible that @Repository, @Service, driverfix license key [14 may 2017]  ❌, and @Controller may carry additional semantics in future releases of the Spring Framework. Thus, if you are making a decision between using @Component or @Service for your service layer, @Service is clearly the better choice. Similarly, as stated above, @Repository is already supported as a marker for automatic exception translation in your persistence layer.”

    Q : What is the difference between web.xml and the Spring Context - servlet.xml?

    Short Answer:

    • web.xml - Java EE Web application Standard. Meta data and configuration of any Java EE compliant web application is stored in web.xml.
    • todo-servlet.xml - Spring Configuration file. Specific to Spring Framework.

    Long Answer:

    web.xml is a default Web Application configuration descriptor, it’s a core part of any WAR (Web application ARchive) and it is not really related to Spring, it’s more like a Web App standard. You usually provide all the servlet related mappings/configuration in this file, then this file is picked up and used by the Web Server (like Tomcat) to set up your application. Again, it has little to do with Spring, you can map any kind of servlet in there not necessarily Springs DispatcherServlet.

    todo-servlet.xml is a Spring specific configuration file used to launch up the Application Context. Application Context is the core spring component implementing IoC (Inversion of Control). The xml contains Spring bean declarations, annotation-enabling configuration, etc.

    So basically, web.xml defines the servlet and specifies which Spring application context file should be associated with this servlet (you can have different servlets use different app contexts), and the Spring application context defines the concrete configuration for this servlet and it’s environment, e.g. which ViewResolver should it use and with what prefixes/suffixes.

    Q : Should we use XML or Annotation based wiring?

    Which is better depends on a) context b) preference of the team.

    If the configuration is specific to a bean, that is part of the current project code base - for example @Service, @Component, @Autowired - I prefer annotations.

    However, when it comes to some application related configuration or a common configuration example @ComponentScan, I do not really have a preference. I would leave it to the team. However, I would definitely want the entire team to discuss and agree what they prefer.

    Q : Can we do autowiring with Non Setter and Non Constructor Methods?

    Yes you can.

    @Autowired annotation can be used with constructor, setter method or just any other method. Whenever Spring finds @Autowired annotation it will try to find beans matching to method parameters and will invoke that method, driverfix license key [14 may 2017]  ❌. If multiple methods (setter or non-setter) have @Autowiredannotation, all will be invoked by Spring after bean instantiation.

    Whenever you use an @Autowired on a method in the bean, it will be called after bean instantiation. So, this method would be called and Spring would auto wire the matching objects from the Spring Context.

    Here’s a recommended reading:

    • http://stackoverflow.com/questions/30188262/spring-autowired-for-setter-methods-vs-non-setter-methods

    Q : Where should we use Checked Exceptions?

    I’ve a simple philosophy!

    If you can do something about an Exception other than showing an error page to the user, then consider Checked Exceptions. You want the consumer of the method to do something about that exception!

    In all other scenarios where there is nothing a programmer can do - other than showing an error page - use Unchecked exceptions.

    I love keeping driverfix license key [14 may 2017]  ❌ handling code to a bare minimum!

    That’s what Spring enables by converting most Checked exceptions into Runtime (also called Unchecked) exceptions.

    Q : What is the difference between Cross Cutting Concerns and AOP?

    A quick fire answer

    • Cross Cutting Concerns are features or functionality that you would need in multiple layers - logging, performance management, security etc.
    • AOP is one of the preferred approaches to implement Cross Cutting Concerns.

    Q : What is difference between IOC and Application Context?

    IOC is a concept - Inversion of Control. Instead of the programmer injecting dependencies, the framework takes the responsibility of auto wiring.

    ApplicationContext is the Spring implementation of IOC.

    Bean Factory is the basic version of IOC Container.

    Application Context adds in all the features that are typically needed by enterprise applications.

    Q : What is the difference between classPathXmlApplicationContext and annotationConfigApplicationContext ?

    • classPathXmlApplicationContext > You want to load an application context using an Spring Config XML present in the class path.
    • annotationConfigApplicationContext > You want to load an application context using a Java Config class.

    Q : When @Around aspect is introduced the value returned [email protected] is lost. Why is this happening?

    The around method should return an Object - value returned by joinpoint.proceed().

    Q : How do you use which autowiring type to use - @Primary or @Qualifier?

    If there is a default bean driverfix license key [14 may 2017]  ❌ bean you prefer over all others) that you want driverfix license key [14 may 2017]  ❌ use most of the times, then go for @Primary and use @Qualifier for non-default scenarios.

    If all of the beans have same priority, we would go with @Qualifier always.

    If you want to select a bean at runtime, thats business logic - Not auto wiring.

    You would need to create a separate class for Selector which has both the sorting algorithms auto wired, driverfix license key [14 may 2017]  ❌. It should have the business logic to choose the appropriate algorithm.

    Q : What are the New Features in Spring Framework 5.0?

    I’ve recently wrote a book on Mastering Spring 5.0.

    Important features in Spring 5.0 are Functional Web Framework, Kotlin and Reactive Programming support. But none of these are mainstream yet.

    https://github.com/spring-projects/spring-framework/wiki/What%27s-New-in-the-Spring-Framework#whats-new-in-spring-framework-5x

    Q : What are the possible reasons of preDestroy not being called?

    • Replace ApplicationContext with ConfigurableApplicationContext and call applicationContext.close() at the end.

    Q : Compare Application Context vs IOC Container vs Driverfix license key [14 may 2017]  ❌ Container vs EJB Container

    Do we need a Web Container to run a Spring Boot Application?

    Basically spring runs anywhere where we have a JVM because that JVM will have capability to run some sort of a container or capability to run an application. Difference would be that the mechanism to load application context would be different based on where it runs. e.g. 2 high level categories - ApplicationContext for Web and Applicationcontext for standalone and again in those 2 categories we will choose “how” and “from where” we want to load that metadata for those applicationContext.

    Web Container & EJB Containers are part of the application/web servers - Tomcat, Websphere, Weblogic. They run what ever application is given to them. Java EE defines a contract for web applications (web.xml etc etc) and these are the implementations of that contract.

    Spring Container is part of the application you are building - the jar or the war. It can run inside a web container, EJB container or even without them :) You can launch it as a java application or you can even run it in an embedded server.

    Notes : Notes from Rodolfo

    Link to this file: https://s3.amazonaws.com/espanol-libros/AllLinks.rtf

    Spring Master Class:

    https://s3.amazonaws.com/espanol-libros/Spring/Section+03+Eclipse+in+5+Steps.rtf

    https://s3.amazonaws.com/espanol-libros/Spring/Section+04+Maven+in+5+Steps.rtf

    https://s3.amazonaws.com/espanol-libros/Spring/Section+09+Basic+Web+Application.rtf

    https://s3.amazonaws.com/espanol-libros/Spring/Section+12+Databases.rtf

    Q : How do we inject different bean depending on the configuration in application.properties?

    Consider the example

    Two components

    application.properties

    Adding @Resource with the name of the property

    Error : Log4j problems with Spring 5!

    Q : What is the minimum baseline Java Version for Spring Boot 2 and Spring 5?

    Spring 5.0 and Spring Boot 2.0 requires Java 8 or later. Java 6 and 7 are no longer supported.

    Recommended Reading

    • https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0.0-M1-Release-Notes

    Error : Getting SLF4J errors and not getting logger output in Step 19?

    As we start removing Spring Boot and bringing in Spring core,in Step 19 of Spring In Depth Section, you would see

    • A few SLF4J errors
    • Logging does not work

    Do not worry about them. We will fix them in the next step Step 20 by adding logback as the logging framework.

    Error : No Spring WebApplicationInitializer types detected on classpath

    It usually happens when you are having conflicts in Java and Spring versions.

    • Please refer http://stackoverflow.com/questions/22938689/info-no-spring-webapplicationinitializer-types-detected-on-classpath.

    JSP Servlets and Spring MVC

    Q : What is the difference between @Controller and @RestController?

    @RestController = @Controller + @ResponseBody

    The response from the @RestController are directly returned as a response after conversion to JSON or XML.

    In Summary

    • @Controller : Uses a view resolver to find driverfix license key [14 may 2017]  ❌ view. You are returning either the View, View Name or Model and View.
    • @RestController : You are returning a bean. The bean would be converted to a JSON using a Jackson message converter.

    Q : Why is there no context root in the request url for each web application?

    Great question. The magic is in path configuration of tomcat7 maven plugin. We use as the path. Therefore, there is no need for a context root. You can configure a path of your choice and that becomes the context root for your web app.

    Q : What does tomcat7:run exactly mean?

    We use a maven plugin for integrating with tomcat7. The plugin would take care of downloading tomcat and installing the war in it.

    You can find more documentation here

    • http://tomcat.apache.org/maven-plugin-trunk/tomcat7-maven-plugin/plugin-info.html

    You can read more down here as well

    • http://stackoverflow.com/questions/7823346/mvn-tomcat7run-how-does-it-work
    • http://tomcat.apache.org/maven-plugin-trunk/tomcat7-maven-plugin/run-mojo.html

    Q : How is the URL decided with Spring MVC?

    First things are the port and the context root. We use the default port - 8080 and we set path to /, driverfix license key [14 may 2017]  ❌. So, the initial url is http://localhost:8080.

    pom.xml

    We configured dispatcher servlet with a url-pattern /, driverfix license key [14 may 2017]  ❌. So, it handles all request to http://localhost:8080

    web.xml

    The method is mapped with a path of “/”. So, a request to http://localhost:8080 will be handled by this method.

    method is used to display the list of todos. The uri configured is /list-todos, driverfix license key [14 may 2017]  ❌. So, it handles requests to http://localhost:8080/list-todos.

    Error : No plugin found for prefix ‘tomcat7’ in the current project

    No plugin found for prefix ‘tomcat7’ in the driverfix license key [14 may 2017]  ❌ project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] when trying to run the application using run with Maven tomcat7:run

    First thing I would check is if maven plugin configured in your pom.xml as mentioned in https://github.com/in28minutes/SpringMvcStepByStep/blob/master/Step01.md

    If it is configured correctly then I would check these two links if they are of any use

    • http://stackoverflow.com/questions/24311383/maven-no-plugin-found-for-prefix-tomcat7-in-the-current-project-and-in-the-p
    • http://stackoverflow.com/questions/21073123/maven-no-plugin-found-for-prefix-tomcat7-in-the-current-project

    Q : Is this kind of Tomcat server usage what is commonly referred to as “Embedded Tomcat Server” ?

    This answer applies only to our Basic JSP Servlets and Spring MVC Courses. For all the courses using Spring Boot we use an embedded tomcat server.

    Think about what you would need to be able to deploy your application (typically) on a virtual machine.

    • Step 1 : Install Java
    • Step 2 : Install the Web/Application Server (Tomcat/Websphere/Weblogic etc)
    • Step 3 : Deploy the application war

    What if we want to simplify this?

    How about making the server a part of the application?

    You would just need a virtual machine with Java installed and you would be able to directly deploy the application on the virtual machine. Isn’t it cool?

    This idea is the genesis for Embedded Servers.

    When we create an application deployable, we would embed the server (for example, tomcat) inside the deployable.

    For example, for a Quicken 2019 activation code generator Archives Boot Application, you can generate an application jar which contains Embedded Tomcat. You can run a web application as a normal Java application!

    Embedded server is when our deployable unit contains the binaries for the server (example, tomcat.jar).

    Basic Spring MVC and JSP Servlet courses do not use embedded servers

    In our basic Spring MVC and JSP Servlet courses, we use the age old approach of generating wars. However, we use a tomcat maven plugin to simplify deployment.

    The plugin will take care of downloading Tomcat and deploying the war to it. One less thing for you to worry about.

    However, this is not really an embedded server. This is midway between an external server and an embedded server.

    All our Spring Boot courses use Embedded Servers

    All our Spring Boot courses use embedded Tomcat server.

    Q : How do we handle errors to non existing URL Paths with Spring MVC?

    You can add an error page for 404 in your web.xml.

    Q : How do we configure a welcome page?

    Let’s say your Login Controller is mapped to login.do and you would want that to be default page to be rendered when you type in http://localhost:8080.

    This can be achieved by having a welcome file list configured in the web.xml.

    Q : Why do we teach JSP and Servlets in the first section of Spring MVC Course?

    I would recommend you to read “The in28Minutes Way” - https://github.com/in28minutes/in28minutes-initiatives/tree/master/The-in28Minutes-Way#we-want-you-to-be-strong-on-the-fundamentals

    We think that understanding the fundametals of a tool, framework or a language is what makes you an expert. While you want to quickly learn how to use a framework, the key difference between an expert and a novice is “How deep do you understand the framework?”.

    In Spring MVC course, we teach you basics of JSPs and Servlets and then move to Spring MVC to ensure you understand why we are using Spring MVC.

    Q : Why do we use @ResponseBody sometimes and ResponseEntity

    Quick Answer - You use ResponseEntity when you want to customize the Response Status. In all other situations, we use @ResponseBody.

    Example 1

    @GetMapping(value=”/resource”) @ResponseBody public Resource sayHello() { return resource; }

    Example 2

    @PostMapping(value=”/resource”) public ResponseEntity

    There are a variety of HTTP Response Status Codes that you can return with your response.

    • 200 - SUCCESS
    • 201 - CREATED
    • 404 - RESOURCE NOT FOUND
    • 400 - BAD REQUEST
    • 401 - UNAUTHORIZED
    • 500 - SERVER ERROR

    With @ResponseBody the only response type that goes out is SUCCESS (Example 1). (or 500 if a server error happens)

    Let’s say you are creating a resource. You would want to send a status of 201 CREATED. In this case, we use ResponseEntity as in Example 2.

    Q : What is difference between Spring 5 and Spring 4 in terms of developing web application in the course? Does it matter if a new version is used ?

    There will be one problem you will face when you use AnyDesk 6.3.3 Crack With License Key Full Version (2021) 5.

    When you get to /src/main/webapp/WEB-INF/views/todo.jsp - You should use modelAttribute instead of commandName

    Instead of

    Use

    You can read more about this here :

    https://stackoverflow.com/questions/21495616/difference-between-modelattribute-and-commandname-atributes-in-form-tag-in-sprin

    Q : What is the difference between Filters, Listeners and Interceptors?

    Conceptually similar. Servlet filters can intercept only HTTPServlets. Listeners can intercept a few specific events. How do you intercept events which are neither of the above.

    Both filters and interceptors do the same things - They intercept something and do something before/after an action is performed.

    Java EE uses the term filter (in web.xml) and Spring calls them Interceptors.

    Thats where AOP comes in. You can intercept calls to any object with AOP.

    More Reading

    • http://www.programering.com/a/MzM3EDNwATY.html

    Q : What is the difference between ModelMap and ModelAndView?

    Model is an interface while ModelMap is a class.

    ModelAndView is just a container for both a ModelMap and a View object. It allows a controller to return both as a single value.

    I usually like ModelAndView to return the model and view from a controller, driverfix license key [14 may 2017]  ❌. However, there is an option where you can just add values to ModelMap and return viewname from the controller method.

    More Reading

    • http://stackoverflow.com/questions/16951609/when-to-use-modelandview-vs-model-in-spring

    Q : What is the difference between model.put() and model.addAttribute()?

    Code for addAttribute method is listed below, driverfix license key [14 may 2017]  ❌. It does an additional null check before calling a put. Doesn’t really matter which one you use.

    I like addAttribute because you are separated from underlying data structure ( implies you are using a hashmap).

    /** * Add the supplied attribute under the supplied name. * @param attributeName the name of the model attribute (never ) * @param attributeValue the model attribute value (can be ) */ public ModelMap addAttribute(String attributeName, Object attributeValue) { Assert.notNull(attributeName, driverfix license key [14 may 2017]  ❌, “Model attribute name must not be null”); put(attributeName, attributeValue); return this; }

    One more difference is that addAttribute returns the ModelMap back. So, you can chain calls.

    model.addAttribute(“attribute1”,”value1”).addAttribute(“attribute2”,”value2”);

    Q : How do you pass values from Driverfix license key [14 may 2017]  ❌ Controller to JSP?

    This is done through Model. You put a value in the model object in your Controller. Spring MVC makes it available to the JSP.

    Put a list with name “todos” in the model. Spring MVC makes it available with name “todos” in the JSP.

    We can access the value in the JSP using

    - In this forEach var=”todo” declares a variable todo.

    You can think of it similar to Java Enhanced for loop - “for(Todo todo:todos)” ).

    Q : What is Form Binding?

    We want to take values from screen and store them to the database. The value on the HTML form needs to be transferred to the bean on the Controller.

    If you use the Spring MVC form tags, Spring MVC automatically takes care of the binding the values in the HTML form to the bean.

    • I would recommend you to do a View Source on the browser and see the html that is generated with the form tags

    You need a form to bind the value to a bean.

    You can look up the documentation for Spring MVC Form Tags for more details.

    I would recommend you to start looking at each of the things thats happening in the browser. See driverfix license key [14 may 2017]  ❌ html that is generated (view source), look at what are the values in the request when you click the submit button on the screen (Look at the network tab : http://code.tutsplus.com/articles/chrome-dev-tools-networking-and-the-console–net-28167)

    Couple of Sources which might be useful for you

    • Spring MVC Documentation : http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#mvc
    • Spring MVC Code : https://github.com/spring-projects/spring-framework/tree/master/spring-webmvc/src

    Q : What is WEB-INF exactly? Why so we need it?

    From the specification, “A special directory exists within the application hierarchy named WEB-INF. This directory contains all things related to the application that aren’t in the document root of the application, driverfix license key [14 may 2017]  ❌. The WEB-INF node is not part of the public document tree of the application. No file contained in the WEB-INF directory may be served directly to a client by the container. However, the contents of the WEB-INF directory are visible to servlet code using the getResource and getResourceAsStream method calls on the ServletContext, and may be exposed using the RequestDispatcher calls.”

    More Reading

    • http://stackoverflow.com/questions/19786142/what-is-web-inf-used-for-in-a-java-ee-web-application

    Q : Why do we use Hibernate Validator?

    Hibernate Validator is not related to Database. It is a validation framework.

    Hibernate Validator 5.x is the reference implementation Bean Validation 1.1!

    Actually, you can use any implementation of Bean Validation API. However, there are really no other popular options.

    As you can see at http://beanvalidation.org/2.0/, Hibernate Validator is the only one which is certified!

    Q : Are Model objects specific to a request?

    Yes. They are specific to a request.

    Model objects cannot be shared across requests. So, 2 different requests mean 2 different model objects.

    If you look at the jsp for a todo page, it shares the responsibility of creating a new todo and modifying an existing todo. And the todo object is binded to the form.

    To display todo page for new todo, we need a model with no values. That’s the first model object that’s created.

    • This is used only for the display of new todo page.

    Once the page is displayed, the first model does not exist anymore.

    When user fills in the values and clicks submit, the values in the form gets bound to a new model object - the second one.

    Q : The groupid for jstl jar is jstl and not javax.servlet

    Yeah. There seems to be some confusion around this. As I understand java.servlet is recommended.

    Recommended Reading

    • http://stackoverflow.com/questions/2276083/include-jstl-dependency-with-maven

    Its not a recommendation I give often, but feel free to use whatever works in this specific scenario

    Q : Why are we using request GET method for “delete-todo” request?

    Question Continued - Shouldn’t we be using DELETE request method?

    The data we use to execute the DELETE is just an id. It is not sensitive information. We can add a check to see if the user has permission on the id to execute a delete before executing a delete. Changing it to POST does not give us any added advantages.

    However, driverfix license key [14 may 2017]  ❌, when we create RESTful services, we should use DELETE.

    Q : Why do we need xmlns hyperlinks? like http://www.springframework.org/schema/bean

    These are generic and would work with all version of Spring Framework. Otherwise we would need to change the version every time we driverfix license key [14 may 2017]  ❌ Spring Framework.

    • http://stackoverflow.com/questions/11610790/what-difference-does-an-xmlns-definition-make-in-a-spring-configuration-file

    Error : View is not resolving to a JSP

    In your web.xml, ensure your url-pattern is set to /spring-mvc/

    If you have /* dispatcher servlet would handle requests to the views as well. We don’t want that!

    Q : How to use own CSS with Spring MVC?

    Spring Configuration XML

    JSP

    Q : Where should we place our static (css, js, html) resources in a Spring MVC application?

    For the Java script, driverfix license key [14 may 2017]  ❌, I would have separate java script files and include them into your jsp.

    Here’s a small discussion where static files should be located:

    • https://stackoverflow.com/questions/7836930/where-do-css-and-javascript-files-go-in-a-maven-web-app-project

    Q : How to add a custom login page in Spring Security?

    Complete example down here

    • http://docs.spring.io/spring-security/site/docs/current/guides/html5/form-javaconfig.html

    Other Recommended Reading

    • https://docs.spring.io/spring-security/site/docs/3.2.0.RELEASE/guides/form.html
    • http://www.concretepage.com/spring-4/spring-4-mvc-security-custom-login-form-and-logout-example-with-csrf-protection-using-annotation-and-xml-configuration

    Q : How can you authenticate by connecting to a database with Spring Security?

    Complete example down here :

    • https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-web-secure-jdbc

    Q : Why is request method POST recommended compared to GET for sensitive data?

    Following are the steps that happen when you interact with a web page

    • Browser : You enter the details
    • Browser : Creates a POST request where details are put into the request (and encrypted if you are using https)
    • Routers and Network : The POST request is sent through multiple routers before it reaches the destination

    In the case of a get request and post request, in steps a and b you can see the details on the browser. The real change is in step c.

    Important Question to ask is “What is going across the network?”

    In the case of GET request, your details are part of url and driverfix license key [14 may 2017]  ❌ routers can see those details. However, in the case of POST, driverfix license key [14 may 2017]  ❌, the details are sent as part of the body of the request and hence more safe.

    Q : We use ${todo.done} in JSP even though the name of the field in Todo.java is isDone. Shouldn’t we be using ${todo.isDone}?

    Isn’t it tricky? Welcome to the fun of Java Beans.

    You can try renaming the variable to done or what ever you want. The important thing is what is the name of getters and setters.

    Java Beans work based on the names of your getters and setters. The setter is named setDone. So, we use ${todo.done}.

    I would recommend playing with getters and setters to understand this further.

    Error : After adding security dependencies - java.lang.NoSuchMethodError: org.springframework.aop.framework.autoproxy.AutoProxyUtils.determineTargetClass

    Its a compatibility issue between Hibernate Validator and Spring.

    Solution - Change your 4.2.3.RELEASE dependency to 4.2.2.RELEASE and change Hibernate version 5.0.4.Final to 5.0.2.Final

    Recommended Reading

    • http://stackoverflow.com/questions/34053170/spring-4-2-3-release-and-hibernate-5-0-4-final-compatibility-issue

    Q : How do I ensure that session attributes are not part of the request url?

    When we use model.put(“name”, name) and name is a session attribute, these parameters are shown in redirected page as parameters in url.

    To avoid this, we can use flash attributes.

    An example below:

    Error : Spring Security driverfix license key [14 may 2017]  ❌ java.lang.NoClassDefFoundError: org/springframework/web/cors/CorsConfigurationSource

    Typically this happens because the schemas in your application context xml are referring to a different Spring Version

    Example : You use Spring 5 and your schema’s are referring to Spring 4.0

    Solving the error - Recommendation is to use generic schema definitions.

    Error : Unable to find setter method for attribute commandName

    commandName is deprecated and is replaced with modelAttribute.

    All you have to do is modify the form line within todo.jsp (getting rid of commandName=”todo”), as follows:

    This is further explained in the last step of Spring Boot course in section “Connecting to JPA” - Step 33: Upgrading to Spring Boot 2 and Spring 5

    Q : Can I have multiple parameters with the same name in a driverfix license key [14 may 2017]  ❌ take an example

    http://localhost:8080/login?name=Ranga&name=Ravi&name=Sathish

    You can accept all values using an array in the controller method.

    Here’s a snippet!

    Error : java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name ‘todo’ available as request attribute

    This is a problem with using ToDo as the bean class name instead of Todo.

    2 Possible Solutions

    • Rename your ToDo.java to Todo.java (OR)
    • Change your method signature to include @ModelAttribute

    public String addTodo(ModelMap model, @ModelAttribute(“toDo”) @Valid ToDo todo, BindingResult result) {

    Spring MVC makes assumptions about your beans. If your class is ToDo, it expects the name of the object to be toDo. since, we are using todo as the name we need to add in a ModelAttribute annotation.

    Error : Request processing failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.in28minutes.Todo.Todo]: No default constructor found; nested exception is java.lang.NoSuchMethodException: com.in28minutes.Todo.Todo.

    No default constructor found;

    You would need a default constructor

    public void Todo() {}

    Error : Caused by: java.lang.IllegalArgumentException: The servlets named [com.in28minutes.LoginServlet] and [webapp.LoginServlet] are both mapped to the url-pattern [/login.do] which is not permitted

    Problem is because there are two servlets with same url pattern.

    To fix it, you can delete one of the LoginServlet classes.

    Q : How is server picking up index.html and index.jsp even when they are not configured in web.xml?

    These are present in the default web.xml present on the tomcat server. Thats why even when you don’t provide a web.xmlthese are picked up.

    Q : What is the benefit of using view resolver?

    Question Continued - Will it not take more time to process a request.

    It all boils down to good design!

    Do one thing very well.

    View Resolver maps a logical view name to a physical view (JSP).

    As far as Java is concerned, more method calls does not mean bad performance.

    Why am I not able to see todo’s list on screen?

    Make sure you use the right user name in the code to retrieve the list of todos.

    Q : What is @ControllerAdvice?

    @ControllerAdvice is common to all the controllers.

    All logic that is common to all the controllers is implemented in Controller Advice classes.

    Exception handling etc.

    Q : What Request method should be used for updating user details?

    You would need to use a PUT method for updating a user. You can use a @PutMapping.

    Q : What is the difference between put and patch request methods?

    • PUT : When you update the entire resource - when you want to update all/most of the fields of a resource.
    • PATCH: When you want to update specific details of the resource, driverfix license key [14 may 2017]  ❌. All other details remain unchanged.

    Spring Boot

    Spring Boot is the best Java framework for microservices We recommend you to become an expert at Spring Boot!

    Q : What should be the first things I read about Spring Boot?

    Here are a list of articles for you to get started with understanding Spring Boot.

    What is the minimum baseline Java Version for Spring Driverfix license key [14 may 2017]  ❌ 2 and Spring 5?

    Spring Boot 2.0 requires Java 8 or later, driverfix license key [14 may 2017]  ❌. Java 6 and 7 are no longer supported.

    Recommended Reading

    • https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0.0-M1-Release-Notes

    Q : Is Spring Initializr the only way to create Spring Boot Projects?

    No.

    Spring Initializr makes it easy to create Spring Boot Projects, driverfix license key [14 may 2017]  ❌. But you can setup a maven project and add the right dependencies to start off.

    In our Spring course, we use 2 approaches to create projects.

    • The first one is start.spring.io.
    • The other one - setting up a project manually is used in the Section titled - “Basic Web Application”
    Setting up a maven project manually

    Here are the important steps:

    • In Eclipse, Use File -> New Maven Project to create a new project.
    • Add dependencies.
    • Add the maven plugins!
    • Add the Spring Boot Application class

    You are ready to go!

    Q : Why am I not seeing code completion when updating application.properties in Eclipse?

    You would need to install the Spring Eclipse plugin.

    • https://marketplace.eclipse.org/content/spring-ide#group-external-install-button

    Q : Why do we need spring-boot-maven-plugin?

    spring-boot-maven-plugin provides a few commands which enable you to package the code as a jar or run the application

    • spring-boot:run runs your Spring Boot application.
    • spring-boot:repackage repackages your jar/war to be executable.
    • spring-boot:start and spring-boot:stop to manage the lifecycle of your Spring Boot application (i.e. for integration tests).
    • spring-boot:build-info generates build information that can be used by the Actuator.

    Q : Devtools helps me to restart the server automatically, driverfix license key [14 may 2017]  ❌. But, I have a problem. The browser page is not auto refreshed.

    Devtool helps the server pick up the change automatically. However, you have to refresh the page manually to execute a new request.

    If you would want to auto load the page as well, you can look at LiveReload

    • http://www.logicbig.com/tutorials/spring-framework/spring-boot/boot-live-reload/.

    In my trials, we found LiveReload buggy. Do let us know if you have a better experience with it.

    Q : What and Why Embedded Servers?

    Think about what you would need to be able to deploy your application (typically) on a virtual machine.

    • Step 1 : Install Java
    • Step 2 : Install the Web/Application Server (Tomcat/Websphere/Weblogic etc)
    • Step 3 : Deploy the application war

    What if we want to simplify this?

    How about making the server a part of the application?

    You would just need a virtual machine with Java installed and you would be able to directly deploy the application on the virtual machine. Isn’t it cool?

    This idea is the genesis for Embedded Servers.

    When we create an application deployable, we would embed the server (for example, tomcat) inside the deployable.

    For example, for a Spring Boot Application, you can generate an application jar which contains Embedded Tomcat. You can run a web application as a normal Java application!

    Embedded server is when our deployable unit contains the binaries for the server (example, tomcat.jar).

    Q : How can I add custom JS code with Spring Boot?

    Create a folder called static under resources folder. You can put your static content in that folder.

    For your example the path to myapp.js would be resources\static\js\myapp.js

    You can refer to it in jsp using

    Error : HAL browser gives me unauthorized error - Full authentication is required to access this resource.

    Two options

    Option 1 : Disable security

    application.properties

    Option 2 : Search for password in the log and driverfix license key [14 may 2017]  ❌ it in the request header

    Error : Hal Browser and Spring Boot Actuator are not working

    Question Continued - You can only get a json response. /application, /application/status and /application/info

    With 2.0.0.M4 Spring Boot is making a lot of changes to Actuator.

    Do not use SNAPSHOT versions

    For now we recommend using 2.3.1.RELEASE with all courses. I will wait for the changes that are introduced with M4 to stabilize before incorporating into the course.

    Recommmended Reading

    • https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0.0-M4-Release-Notes

    Solution : Update your pom.xml

    If you are using Milestone (M1, M2, M3…) or SNAPSHOT version you need this configuration

    Q : How does path=”users”, collectionResourceRel=”users” work with Spring Data Rest?

    • path - The path segment under which this resource is to be exported.
    • collectionResourceRel - The rel value to use when generating links to the collection resource. This is used when generating HATEOAS links.

    Q : What is importance of {id} in ServletUriComponentsBuilder.fromCurrentRequest().path(“/{id}”).buildAndExpand(returnQuestion.getId()).toUri();

    The name of the variable in the path does not really matter.

    You can read more about UriComponentsBuilder here : http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/util/UriComponentsBuilder

    Error : java.lang.ClassCastException: org.springframework.boot.context.event.ApplicationReadyEvent cannot be cast

    ApplicationReadyEvent is sub-class of SpringApplicationEvent. So, it cannot be type casted to WebServerInitializedEvent.

    The code which is triggering the exception is below

    As you can see the exception is being suppressed based on the exception message. I guess this is a scenario which the developer expected.

    I could not figure anything more about this code other than the fact that this event is trigged when application is ready to accept requests.

    “Event published as late as conceivably possible to indicate that the application is ready to service requests. The source of the event is the {@link SpringApplication} itself, but beware of modifying its internal state driverfix license key [14 may 2017]  ❌ all initialization steps will have been completed by then.”

    I dont expect this to cause a problem. Especially because this is logged at debug level.

    Q : What is difference between Spring 5 and Spring 4 in terms of developing web application in the course? Does it matter if a new version is used ?

    There will be one problem you will face when you use Spring 5.

    When you get to /src/main/webapp/WEB-INF/views/todo.jsp - You should use modelAttribute instead of commandName

    Instead of

    Use

    You can read more about this here :

    https://stackoverflow.com/questions/21495616/difference-between-modelattribute-and-commandname-atributes-in-form-tag-in-sprin

    The best way to run is to right click on the Java Class File you want to run (SpringBootTutorialApplication) > Run As > Java Application.

    When you do it on a project, driverfix license key [14 may 2017]  ❌, Eclipse finds all the java classes with main methods and asks you to choose among them

    Q : What happens in the background when a Spring Boot Application is “Run as Java Application”?

    If you are using Eclipse IDE, driverfix license key [14 may 2017]  ❌, Eclipse maven plugin ensures driverfix license key [14 may 2017]  ❌ as soon as you add a dependency or make a change to the class file, it is compiled and ready in the target folder! And after that its just like any other Java application.

    When you launch the java application, then the spring boot auto configuration magic kicks in.

    • It launches up tomcat when it sees that you are developing a web application!

    Q : Can we use jetty instead of tomcat in spring-boot-starter-web?

    Remove the existing dependency on spring-boot-starter-web and add these in.

    Error : Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.3.1.RELEASE from https://repo.spring.io/snapshot

    SNAPSHOT versions are versions under development. Of late, there are a few issues with some of the SNAPSHOT version of Spring Boot 2. We recommend using 2.3.1.RELEASE for now.

    In you pom.xml, you can change the version in the parent as shown below:

    If you are using Milestone (M1, M2, M3…) or SNAPSHOT version you need this configuration

    Q : Why do we configure Spring Snapshot and milestone repositories?

    If you are using Milestone (M1, M2, M3…) or SNAPSHOT version you need this configuration

    Error : java.lang.IllegalArgumentException: Sources must not be empty

    Make sure you are running the right Java class. Go to your class containing @SpringBootApplication and right click > Run as Java Application.

    In the example below SpringbootIn10StepsApplication has the @SpringBootApplication annotation, driverfix license key [14 may 2017]  ❌. So, it is the one you should run as Java Application.

    Q : Can i use spring boot dev tools for a non spring boot project?

    I would recommend you to try JRebel.

    Q : What is the difference between Static and Dynamic filtering?

    Imagine the same bean being used in two different RESTful services. And these two services want to send out different set of fields in the response.

    If we add the @JsonIgnoreProperties annotation on the bean, then we cannot have different set of fields in the responses. Thats why this is called static filtering.

    However with dynamic filtering, shown below, you can create two request methods, driverfix license key [14 may 2017]  ❌, each having different attributes being sent.

    Error : No message found under code ‘good.morning.message’ for locale ‘us’.

    Ensure that the name of ResourceBundleMessageSource is the same in both the files related to internationalization.

    • In the examples below, we use messageSource as the @Autowired bean name and the @Bean method name.

    Q : How to generate a WAR file with Spring Boot?

    Recommended Reading

    • https://spring.io/guides/gs/convert-jar-to-war/

    Here’s the direct link to spring documentation

    • https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#build-tool-plugins-maven-packaging

    Q : How to deploy to a different server with with Spring Boot?

    You would need to do 2 Steps

    • Generate a war from the project.
    • Deploy it to your favourite server (Websphere or Weblogic or Tomcat or …).

    Step 1 : This getting started guide should help - https://spring.io/guides/gs/convert-jar-to-war/

    Step 2 : Depends on your server

    Q : What is the difference between RequestMapping and GetMapping?

    • RequestMapping is generic - you can use with GET, POST, PUT or any of the other request methods using the method attribute on the annotation.
    • GetMapping is specific to GET request method. It’s just an extension of RequestMapping to improve clarity.

    Q : Why do we recommend not to use Spring Data Rest in real world applications?

    We think Spring Data Rest is Good for quick prototyping! Be cautious about using this in Big applications!

    With Spring Data REST you are exposing your database entitities directly as REST Services.

    When you design RESTful services, Best design practices suggests that your interface should consider two important things

    • Your Domain Model
    • Your Consumers

    With Spring Data REST, you are not considering either of those. You just expose entities as REST Services.

    Thats why we suggest to use it for quick prototyping or the initial evolution of a project, driverfix license key [14 may 2017]  ❌. It may not be a great idea for a fully evolved project.

    Q : How do I change the package name of a project in Spring Initializer?

    Good news is you can customise it. Click the link “Switch to the full version.“. You would be able to configure the package name you would want!

    Q : Where can I find the complete list of properties that can be configured in application.properties?

    Here’s the complete guide

    • https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html

    Hibernate, JPA and In-memory Database

    Q : What is the difference between JPA and Hibernate?

    Short Story

    • JPA is a specification/Interface
    • Hibernate is one of JPA implementations

    When we use JPA, we use the annotation and interfaces from javax.persistence package, without using the hibernate import packages.

    We recommend using JPA annotations as we are not tied to Hibernate as implementation. Later (I know - <1% Chance), we can use another JPA implementation.

    Q : Compare Entity Manager vs SessionFactory

    Notes

    • Entity Manager and SessionFactory are similar, driverfix license key [14 may 2017]  ❌, have very similar responsibilities.
    • JPA specifies EntityManager while Hibernate can work with both SessionFactory and EntityManager.

    We recommend using pure JPA i.e. EntityManager. You would not want to be tied to Hibernate as the JPA implementation - Hence avoid SessionFactory.

    Q : In which layer, should the boundary of a transaction start?

    We recommend managing transactions in the Service layer. Logic for business transactions is in the business/service layer and you would want to enforce transaction management at that level.

    Q : HQL vs JPQL

    JPQL is a Java EE Standard, driverfix license key [14 may 2017]  ❌. Once you use JPQL you can switch between any JPA implementation driverfix license key [14 may 2017]  ❌ Hibernate or Toplink or …

    HQL is specific to Hibernate. If you use HQL, you are tied to Hibernate for your lifetime.

    While this might seem not to be such a important choice now, what if there is a more popular JPA implementation in 5 years and you want to switch away from Hibernate. Applications using JPQL will be easier to migrate than those using HQL.

    Q : What are the dependencies need to start up an in memory database H2 with Spring Boot?

    In a Spring Boot project, driverfix license key [14 may 2017]  ❌, you should be able to launch up H2 Console as long as you ensure the following dependencies are on the driverfix license key [14 may 2017]  ❌ path.

    • web starter
    • h2
    • data jpa starter

    The exact dependencies are shown below:

    A few tips:

    • An in-memory database is live only during the time of execution of the application. It is an efficient way to learn a framework.
    • This is not how you want your real world applications to behave.
    • We explain how to connect to a database of your choice in the answer to the question “How do we connect to a external database?”.

    Q : How is Hibernate chosen as the default implementation for JPA without any configuration?

    Again - Spring Boot Auto Configuration.

    This is the driverfix license key [14 may 2017]  ❌ we added in

    The Starter spring-boot-starter-data-jpa has a transitive dependency on Hibernate and JPA.

    When Spring Boot sees Hibernate in the class path, it auto configures it as the default JPA Implementation.

    Q : Why H2? And how does it work?

    First and most important thing - Spring Boot is intelligent.

    If you are talking to an in memory db, by default, it looks at the entities and creates the database and the tables.

    However, if you connect to a mysql database, driverfix license key [14 may 2017]  ❌, Spring Boot knows that its a permanent database. By default, it expects you to set up the database, set up the tables and it uses the connection that you established.

    Here are the details

    • http://www.springboottutorial.com/spring-boot-auto-configuration
    • https://docs.spring.io/spring-boot/docs/current/reference/html/howto-database-initialization.html

    Q : Where is the database connection info specified? How does it know to automatically connect to H2?

    Thats Spring Boot Autoconfiguration magic.

    From https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-auto-configuration.html

    “Spring Boot auto-configuration attempts to automatically configure your Spring application based on the jar dependencies that you have added, driverfix license key [14 may 2017]  ❌. For example, If HSQLDBis on your classpath, and you have not manually configured any database connection beans, then we will auto-configure an in-memory database.

    More Reading

    • http://www.springboottutorial.com/spring-boot-auto-configuration

    Q : How do we connect to a external database like MSSQL or oracle?

    Let’s consider one of those as an example - MySQL

    Step 1 - Add dependency for mqsql connector to pom.xml
    Step 2 - Remove H2 Dependency from pom.xml

    Or atleast make its scope as test

    Step 3 - Setup your My SQL Database
    • For more check out - https://github.com/in28minutes/jpa-with-hibernate#installing-and-setting-up-mysql
    Step 4 - Configure your connection to My SQL Database

    Configure application.properties

    Step 5 - Restart and You are ready!

    That’s it

    Q : What is the default h2 database name configured by Spring Boot? Why is the default database name testdb?

    This is where all the default values in application.properties are listed

    • https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html

    Look for the property below

    If you are using an H2 in-memory database, thats exactly the name that Spring Boot uses to setup your H2 database.

    Q : What happens if H2 is not in the classpath?

    You get this error

    Add H2 to the pom.xml and Restart your server

    Q : Why the data lost between restart?

    H2 is an in memory database. Its not a persisted database.

    H2 is a great tool for learning because you need zero setup.

    While we dont recommend thisit interesting to note that H2 has a persisted database mode.

    • With this configuration, the data is not lost even after spring boot restart and computer restart.
    • You would find H2 being very rarely used in this way. If you are really interested in a persistent database, I would recommend MySQL

    application.properties

    Error : Table is not created automatically in h2 embedded db or I’m unable to see the tables

    Usually, the table’s are created but the url used in H2 GUI Console is wrong.

    In the browser, change the database url to jdbc:h2:mem:testdb (Shown in the screen below).

    You should be good to go!

    Error : H2 Console is not Launched up?

    Try enabling it in the application.properties

    Q : How did the insert query from data.sql run at application startup?

    Thats the magic of Spring Boot Autoconfiguration again. You can read more here.

    • http://www.springboottutorial.com/spring-boot-auto-configuration
    • https://docs.spring.io/spring-boot/docs/current/reference/html/howto-database-initialization.html

    Q : How to define a Composite Primary Key or a Composite ID?

    You can use a structure similar to below:

    Q : Why should we annotate EntityManager with @PersistenceContext and not just @Autowired?

    It is actually recommended to use driverfix license key [14 may 2017]  ❌. It is a JPA Specific Specialization.

    You can read more here

    • https://docs.oracle.com/javaee/7/api/javax/persistence/PersistenceContext.html

    Q : How can we connect to Multiple Databases using Spring Boot?

    Here’s a good article showing how to connect to multiple databases

    • http://www.baeldung.com/spring-data-jpa-multiple-databases

    You have to do all the work now. You cannot depend on auto configuration :)

    Here’s another good read:

    • https://medium.com/@joeclever/using-multiple-datasources-with-spring-boot-and-spring-data-6430b00c02e7

    Q : How did JdbcTemplate achieve connection details?

    Its down to Spring Boot Auto Configuration!

    First thing you would need to understand is Spring Boot Auto Configuration.

    Here’s a good read

    • http://www.springboottutorial.com/spring-boot-auto-configuration

    As far as H2 is concerned, as soon as Spring Boot sees H2 in the class path, it auto configures something similar to what you see below:

    It knows that you are using an inmemory database H2 and It knows the default url if you don’t provide one.

    Q : Can you give an example for ReadOnly as true in Transaction management?

    • When you read stuff from the database, user details or any other details, you wanna set read only on the transaction so that Hibernate does not need to check for changes to the entities. This is more efficient.

    Error : org.hibernate.loader.MultipleBagFetchException

    It looks like this is a bug with Hibernate. Hibernate doesn’t like two collections with FetchType.EAGER

    This thread is a good start for more approaches - https://stackoverflow.com/questions/4334970/hibernate-cannot-simultaneously-fetch-multiple-bags

    Error : BeanCreationException - java.lang.IllegalArgumentException: At least one JPA metamodel must be present

    This is because of conflicts with older version of Hibernate.

    Ensure you are using the recommended version of Spring Boot - 2.3.1.RELEASE

    Q : Is it mandatory to driverfix license key [14 may 2017]  ❌ @Repository on a repository which is extending JPARepository?

    • Ideally you don’t need to have an @Repository. But, I faced a few issues sometimes - better be safe than sorry.

    Q : JPA and Hibernate Course - Notes from Rodolfo

    Link to this file: https://s3.amazonaws.com/espanol-libros/AllLinks.rtf

    https://s3.amazonaws.com/espanol-libros/JPA/Section+5+JPA+and+Hibernate+in+Depth.rtf

    https://s3.amazonaws.com/espanol-libros/JPA/Section+6+Establishing+Relationship+with+JPA+and+Hibernate+OneToOne.rtf

    https://s3.amazonaws.com/espanol-libros/JPA/Section+7+Review+with+FAQs.rtf

    https://s3.amazonaws.com/espanol-libros/JPA/Section+8+Establishing+relationships+with+JPA+and+Hibernate+ManyToOne.rtf

    Q : How can we use a mysql database for running the application and use inmemory database H2 for unit tests?

    The standard properties file that Spring Boot picks up automatically when running an application is called application.properties and resides in the src/main/resources folder.

    If we want to use different properties for tests, driverfix license key [14 may 2017]  ❌, then we can override the properties file in the main folder by placing another file with the same name in src/test/resources.

    The application.properties file in src/test/resources folder should contain the standard key-value pairs necessary for configuring a in memory connection.

    First add the dependencies for your database driver (mysql in the example below) and make the dependency for h2 test scoped.

    Use the mysql database for your real code

    src\main\resources\application.properties

    Use in memory database for your unit tests

    src\test\resources\application.properties

    Q : When is any primary or an id field annotated with @GeneratedValue autogenerated? Why are we passing the value for id in data.sql?

    Let’s consider a simple example:

    Id is generated only when you insert it using entity manager.

    When we use data.sql to insert the data we have to provide all the details as entity manager is not involved.

    Two things that are typically a problem

    • Annotate repository class with @Repository
    • Try adding the annotation @EnableJpaRepositories(basePackageClasses = …) with the right value for basePackageClasses next to @SpringBootApplication on the Spring Boot Application class.

    Error : Detached object passed to persist

    Consider the code

    This is because an id on the Course is set - 200L. To fix it you can create a new constructor without an id and use it!

    Hibernate distinguishes between transient and detached objects and persist works only with transient objects. If persist concludes the object is detached (which it will because the ID is set), it will return the “detached object passed to persist”

    Error : java.lang.NoClassDefFoundError: javax/wsdl/extensions/ExtensibilityElement

    Make sure you have this dependency in the pom.xml

    Q : How do authentication with jwt to service REST??

    I’m working on a course for Full Stack Developer with REST APIs (on Spring Boot) connecting to a frontend (Angular and React) and this is exactly the stuff that needs attention.

    Here’s a good reference - https://medium.com/@nydiarra/secure-a-spring-boot-rest-api-with-json-web-token-reference-to-angular-integration-e57a25806c50

    Unit Testing

    Q : What is a mockito answer?

    Here’s a great starting point https://testing.googleblog.com/2014/03/whenhow-to-use-mockito-answer.html

    Q : How do you mock a private method that requires arguments?

    Q : How to make JUnit run at regular intervals of time?

    I love Infinitest - https://infinitest.github.io/

    This keeps running your unit tests in the back ground. You can focus on your code.

    Q : Annotation Changes - JUnit 4 vs JUnit 5

    Annotation Changes in JUnit 5

    • @Before annotation is renamed to @BeforeEach
    • @After annotation is renamed to @AfterEach
    • @BeforeClass annotation is renamed to @BeforeAll
    • @AfterClass annotation is renamed to @AfterAll
    • @Ignore annotation is renamed to driverfix license key [14 may 2017]  ❌ and in28Minutes

      Q : What should you do to make the best use of our courses?

      What is the use of all these numbers?

      • 99000+ - Students!
      • 7000+ - 5 Star Reviews on our Courses
      • More than 100 Hours of Course Content

      Not useful unless you make the best use of these.

      Learn something new for atleast half an hour every day!

      If you do it for 100 days consecutively, it becomes a habit. Good Habits are great things to have.

      If you are not able to commit time on the courses, driverfix license key [14 may 2017]  ❌, then read this - “The in28Minutes Way” - https://github.com/in28minutes/in28minutes-initiatives/tree/master/The-in28Minutes-Way

      Open up your mobile and set a daily reminder now!

      Q : Why should you learn from in28Minutes?

      Read this - “The in28Minutes Way” - https://github.com/in28minutes/in28minutes-initiatives/tree/master/The-in28Minutes-Way

      Some facts

      • 75% - Percentage of New Java Projects/Microservices using Spring/Spring Boot
      • 300% - Increase in Microservices using Spring Boot in the last two years!
      • 70% - Percentage of Real World projects using Maven
      • 70% - Percentage of Real World Projects using Git as Version Control. Fork, Like and Play!
      • 10+ - We are in the world of Microservices. We create a number of small microservices. That driverfix license key [14 may 2017]  ❌ understand how to set up projects is a very important skill. We help you learn that by creating a number of small projects during this course.
      • 80/20 - Most Important Rule that dictates things for in28Minutes.

      Remember if you Listen, Watch, Do and Repeat. You Retain More of What you learn.

      Once you realize the importance of what you are learning, committing to your goal becomes XYplorer 21.30.0000 Crack Archives. Think and find at least 28 minutes in your day for doing this. Good Luck.

      Q : What is the focus of each of your courses?

      Here are the courses and their focus areas:

      • Master Microservices with Spring Boot & Spring Cloud
        • Expert - Microservices with Spring Cloud
          • Setup Centralized Microservices Configuration with Spring Cloud Config Server
          • Implement client side load balancing (Ribbon), Dynamic scaling(Eureka Naming Server) and an API Gateway (Zuul)
          • Distributed tracing for microservices with Spring Cloud Sleuth and Zipkin
          • Fault Tolerance for microservices with Hystrix
        • Expert - RESTful API and Web Services with Spring Boot
          • Best Practices in Designing RESTful web services
          • Implement Exception Handling, Validation, HATEOAS and filtering for RESTful Web Services
          • Version and Document (using Swagger) Your RESTful Web Services
        • Introduction Modules
      • Master Web Services and REST API with Spring Boot
        • Expert - SOAP Web Services with Spring Boot
          • Understand WSDL, SOAP Header, SOAP Body, SOAP Fault, XSD, JAXB and EndPoint
          • Use Contract First Approach to Develop Web Services
        • Expert - Design and Develop RESTful API and Web Services with Spring Boot
          • Best Practices in Designing RESTful web services
          • Implement Exception Handling, Validation, HATEOAS and filtering for RESTful Web Services
          • Version and Document (using Swagger) Your RESTful Web Services
          • Connect web services to JPA/Hibernate
        • Introduction Modules
      • Master Hibernate & JPA with Spring Boot in 100 Steps
        • Expert - JPA & Hibernate with Spring Boot
          • Fundametals - Entities, Relationships, Inheritance Mappings and Annotations
          • Relationships in depth - One to One, Many to One and Many to Many
          • Querying data - JPQL, Criteria API and Native Queries
          • Caching - First Level Cache and Second Level Cache with EhCache
          • Performance tuning your JPA application with Hibernate - Solve N+1 Queries Issue
        • Introduction Modules
          • Spring, Spring Boot, Spring JDBC, Spring Data JPA and Spring Data REST
      • Learn Spring Boot in 100 Steps - Beginner to Expert
        • Expert - Fundamentals of Spring Boot
          • Magic of Spring Boot - Auto Configuration, Spring Initializr and Starter Projects
          • Develop a Web Application connecting to JPA/Hibernate Step by Step with Spring MVC and Spring Boot
          • Understand Spring MVC in depth - DispatcherServletModel, Controllers and ViewResolver
          • Externalise application configuration using Spring Boot Profiles and Dynamic Configuration
          • Monitoring
          • Write great Unit and Integration tests using Spring Boot Starter Test
          • Use a wide variety of Spring Boot Starter Projects - Spring Boot Web, Spring Boot Test, Spring Boot Data JPA, Spring Boot Data REST
          • Explore the embedded servlet container options provided by Spring Boot - Tomcat, Jetty and Undertow
          • Make best use of Spring Boot Actuator and Spring Boot Developer Tools
        • Introduction Modules
          • Spring, JUnit and Mockito.
      • Spring Master Class - Beginner to Expert in 100 Steps
        • Expert - Fundamentals of Spring Framework
          • Dependency Injection, IOC Container, Application Context and Bean Factory.
          • Spring Annotations - @Autowired, @Component, @Service, @Repository, @Configuration, @Primary
          • Unit tests with XML, Java Application Contexts and Mockito
        • Introduction Modules
          • Maven, JUnit, Mockito and Spring Boot

      Q : How to improve Logical Skills?

      Logical skills are difficult to acquire but are among the things which will help you through out your programming career.

      There are three ways - Practice, Practice and More Practice.

      I would suggest joining a programming contest like CodeChef or TopCoder for a start. Once you start being active there, you will understand everything else.

    Источник: [https://torrent-igruha.org/3551-portal.html]
    ' ${IMAGE_ROOTFS}/etc/inittab+ fi+ # If we're using openssh and the /etc/ssh directory has no pre-generated keys, # we should configure openssh to use the configuration file /etc/ssh/sshd_config_readonly # and the keys under /var/run/ssh.diff --git a/poky/meta/classes/staging.bbclassb/poky/meta/classes/staging.bbclass index cdc342d.55a9b52 100644 --- a/poky/meta/classes/staging.bbclass +++ b/poky/meta/classes/staging.bbclass @@ -197,7 +197,7 @@ for pkgarch in pkgarchs: for manifest in glob.glob(d.expand("${SSTATE_MANIFESTS}/manifest-%s-*.populate_sysroot" % pkgarch)): if manifest.endswith("-initial.populate_sysroot"):- # skip glibc-initial and libgcc-initial due to file overlap+ # skip libgcc-initial due to file overlap continue if not native and (manifest.endswith("-native.populate_sysroot") or "nativesdk-" in manifest): continuediff --git a/poky/meta/conf/bitbake.confb/poky/meta/conf/bitbake.conf index 1311e6b.a0a7f49 100644 --- a/poky/meta/conf/bitbake.conf +++ b/poky/meta/conf/bitbake.conf @@ -360,12 +360,6 @@ # The persistent cache should be shared by all builds PERSISTENT_DIR = "${TOPDIR}/cache" LOG_DIR = "${TMPDIR}/log"-CO_DIR = "${DL_DIR}"-CVSDIR = "${CO_DIR}/cvs"-SVNDIR = "${CO_DIR}/svn"-GITDIR = "${CO_DIR}/git2"-BZRDIR = "${CO_DIR}/bzr"-HGDIR = "${CO_DIR}/hg" STAMPS_DIR ?= "${TMPDIR}/stamps" STAMP = "${STAMPS_DIR}/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE}${PV}-${PR}"@@ -676,12 +670,6 @@ # export DEBIAN_MIRROR = "http://ftp.de.debian.org/debian/pool" # into your local.conf-FETCHCMD_svn = "/usr/bin/env svn --non-interactive --trust-server-cert"-FETCHCMD_cvs = "/usr/bin/env cvs"-FETCHCMD_wget = "/usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate"-FETCHCMD_bzr = "/usr/bin/env bzr"-FETCHCMD_hg = "/usr/bin/env hg"- SRCDATE = "${DATE}" SRCREV ??= "INVALID" AUTOREV = "${@bb.fetch2.get_autorev(d)}"diff --git a/poky/meta/conf/distro/defaultsetup.confb/poky/meta/conf/distro/defaultsetup.conf index 9b1ee20.66fd246 100644 --- a/poky/meta/conf/distro/defaultsetup.conf +++ b/poky/meta/conf/distro/defaultsetup.conf @@ -1,7 driverfix license key [14 may 2017]  ❌ @@ include conf/distro/include/default-providers.inc include conf/distro/include/default-versions.inc include conf/distro/include/default-distrovars.inc-include conf/distro/include/world-broken.inc include conf/distro/include/maintainers.inc TCMODE ?= "default"diff --git a/poky/meta/conf/distro/include/default-providers.incb/poky/meta/conf/distro/include/default-providers.inc index 8f4d44d.ea88bd4 100644 --- a/poky/meta/conf/distro/include/default-providers.inc +++ b/poky/meta/conf/distro/include/default-providers.inc @@ driverfix license key [14 may 2017]  ❌ +5,8 @@ PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xorg" PREFERRED_PROVIDER_virtual/egl ?= "mesa" PREFERRED_PROVIDER_virtual/libgl ?= "mesa"+PREFERRED_PROVIDER_virtual/libgl-native ?= "mesa-native"+PREFERRED_PROVIDER_virtual/nativesdk-libgl ?= "nativesdk-mesa" PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa" PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" PREFERRED_PROVIDER_virtual/mesa ?= "mesa"diff --git a/poky/meta/conf/distro/include/distro_alias.incb/poky/meta/conf/distro/include/distro_alias.inc index ab6ebdb.e314642 100644 --- a/poky/meta/conf/distro/include/distro_alias.inc +++ b/poky/meta/conf/distro/include/distro_alias.inc @@ -43,9 +43,6 @@ DISTRO_PN_ALIAS_pn-core-image-clutter = "OE-Core" DISTRO_PN_ALIAS_pn-core-image-full-cmdline = "OE-Core" DISTRO_PN_ALIAS_pn-core-image-kernel-dev = "OE-Core"-DISTRO_PN_ALIAS_pn-core-image-lsb = "OE-Core"-DISTRO_PN_ALIAS_pn-core-image-lsb-dev = "OE-Core"-DISTRO_PN_ALIAS_pn-core-image-lsb-sdk = "OE-Core" DISTRO_PN_ALIAS_pn-core-image-minimal = "OE-Core" DISTRO_PN_ALIAS_pn-core-image-minimal-dev = "OE-Core" DISTRO_PN_ALIAS_pn-core-image-minimal-initramfs = "OE-Core"@@ -80,8 +77,6 @@ driverfix license key [14 may 2017]  ❌ DISTRO_PN_ALIAS_pn-docbook-xsl-stylesheets = "Fedora=docbook-xsl-stylesheets Opensuse=docbook-xsl-stylesheets" DISTRO_PN_ALIAS_pn-dropbear = "Debian=dropbear Ubuntu=dropbear" DISTRO_PN_ALIAS_pn-dtc = "Fedora=dtc Ubuntu=dtc"-DISTRO_PN_ALIAS_pn-eglinfo-fb = "OE-Core"-DISTRO_PN_ALIAS_pn-eglinfo-x11 = "OE-Core" DISTRO_PN_ALIAS_pn-encodings = "Ubuntu=xfonts-encodings Mandriva=x11-font-encodings Debian=xfonts-encodings" DISTRO_PN_ALIAS_pn-font-alias = "Fedora=xorg-x11-fonts-base Mandriva=x11-font-alias Meego=xorg-x11-fonts" DISTRO_PN_ALIAS_pn-font-util = "Meego=xorg-x11-font-utils Fedora=xorg-x11-font-utils Ubuntu=xfonts-utils Mandriva=x11-font-util Debian=xfonts-utils"@@ -202,8 +197,6 @@ DISTRO_PN_ALIAS_pn-linux-yocto = "Debian=linux-base Ubuntu=linux" DISTRO_PN_ALIAS_pn-linux-yocto-rt = "Debian=linux-base Ubuntu=linux" DISTRO_PN_ALIAS_pn-linux-yocto-tiny = "OSPDT"-DISTRO_PN_ALIAS_pn-lsbinitscripts = "Windriver"-DISTRO_PN_ALIAS_pn-lsbtest = "Windriver" DISTRO_PN_ALIAS_pn-ltp = "Mandriva=ltp Ubuntu=ltp" DISTRO_PN_ALIAS_pn-lttng-modules = "OSPDT upstream=http://lttng.org/" DISTRO_PN_ALIAS_pn-lttng-tools = "OSPDT upstream=http://lttng.org/"@@ -265,7 +258,6 @@ DISTRO_PN_ALIAS_pn-packagegroup-core-device-devel = "OE-Core" DISTRO_PN_ALIAS_pn-packagegroup-core-eclipse-debug = "OE-Core" DISTRO_PN_ALIAS_pn-packagegroup-core-full-cmdline = "OE-Core"-DISTRO_PN_ALIAS_pn-packagegroup-core-lsb = "OE-Core" DISTRO_PN_ALIAS_pn-packagegroup-core-nfs = "OE-Core" DISTRO_PN_ALIAS_pn-packagegroup-core-sdk = "OE-Core" DISTRO_PN_ALIAS_pn-packagegroup-core-ssh-dropbear = "OE-Core"diff --git a/poky/meta/conf/distro/include/maintainers.incb/poky/meta/conf/distro/include/maintainers.inc index 6a2308d.5f21f98 100644 --- a/poky/meta/conf/distro/include/maintainers.inc +++ b/poky/meta/conf/distro/include/maintainers.inc @@ -66,6 +66,7 @@ RECIPE_MAINTAINER_pn-binutils = "Khem Raj <[email protected]>" RECIPE_MAINTAINER_pn-binutils-cross-${TARGET_ARCH} = "Khem Raj <[email protected]>" RECIPE_MAINTAINER_pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "Khem Raj <[email protected]>"+RECIPE_MAINTAINER_pn-binutils-cross-testsuite = "Khem Raj <[email protected]>" RECIPE_MAINTAINER_pn-binutils-crosssdk-${SDK_SYS} driverfix license key [14 may 2017]  ❌ "Khem Raj <[email protected]>" RECIPE_MAINTAINER_pn-bison = "Chen Qi <[email protected]>" RECIPE_MAINTAINER_pn-bjam-native = "Alexander Kanavin <[email protected]>"@@ -114,8 +115,6 @@ RECIPE_MAINTAINER_pn-core-image-kernel-dev = "Richard Purdie <[email protected]>" RECIPE_MAINTAINER_pn-core-image-sato = "Richard Purdie <[email protected]>" RECIPE_MAINTAINER_pn-core-image-sato-sdk = "Richard Purdie <[email protected]>"-RECIPE_MAINTAINER_pn-core-image-lsb = "Richard Purdie <[email protected]>"-RECIPE_MAINTAINER_pn-core-image-lsb-sdk = "Richard Purdie <[email protected]>" RECIPE_MAINTAINER_pn-core-image-testmaster-initramfs = "Richard Purdie <[email protected]>" RECIPE_MAINTAINER_pn-core-image-testmaster = "Richard Purdie <[email protected]>" RECIPE_MAINTAINER_pn-core-image-clutter = "Richard Purdie <[email protected]>"@@ -144,6 +143,7 @@ RECIPE_MAINTAINER_pn-dbus-test = "Chen Qi <[email protected]>" RECIPE_MAINTAINER_pn-dbus-wait = "Chen Qi <[email protected]>" RECIPE_MAINTAINER_pn-debianutils = "Yi Zhao <[email protected]>"+RECIPE_MAINTAINER_pn-dejagnu = "Nathan Rossi <[email protected]>" RECIPE_MAINTAINER_pn-depmodwrapper-cross = "Mark Hatle <[email protected]>" RECIPE_MAINTAINER_pn-desktop-file-utils = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER_pn-dhcp = "Hongxu Jia <[email protected]>"@@ -165,9 +165,6 @@ RECIPE_MAINTAINER_pn-ed = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER_pn-efivar = "Ross Burton <[email protected]>" RECIPE_MAINTAINER_pn-efibootmgr = "Ross Burton <[email protected]>"-RECIPE_MAINTAINER_pn-eglinfo-fb = "Alexander Kanavin <[email protected]>"-RECIPE_MAINTAINER_pn-eglinfo-x11 = "Alexander Kanavin <[email protected]>"-RECIPE_MAINTAINER_pn-eglinfo-wayland = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER_pn-elfutils = "Hongxu Jia <[email protected]>" RECIPE_MAINTAINER_pn-ell = "Oleksandr Kravchuk <[email protected]>" RECIPE_MAINTAINER_pn-enchant = "Anuj Mittal <[email protected]>"@@ -217,10 +214,10 @@ RECIPE_MAINTAINER_pn-glib-2.0 = "Anuj Mittal <[email protected]>" RECIPE_MAINTAINER_pn-glib-networking = "Anuj Mittal <[email protected]>" RECIPE_MAINTAINER_pn-glibc = "Khem Driverfix license key [14 may 2017]  ❌ <[email protected]>"-RECIPE_MAINTAINER_pn-glibc-initial = "Khem Raj <[email protected]>" RECIPE_MAINTAINER_pn-glibc-locale = "Khem Raj <[email protected]>" RECIPE_MAINTAINER_pn-glibc-mtrace driverfix license key [14 may 2017]  ❌ "Khem Raj <[email protected]>" RECIPE_MAINTAINER_pn-glibc-scripts = "Khem Raj <[email protected]>"+RECIPE_MAINTAINER_pn-glibc-testsuite = "Khem Raj <[email protected]>" RECIPE_MAINTAINER_pn-glide = "Otavio Salvador <[email protected]>" RECIPE_MAINTAINER_pn-gmp = "Khem Raj <[email protected]>" RECIPE_MAINTAINER_pn-gnome-desktop-testing = "Ross Burton <[email protected]>"@@ -455,9 +452,7 @@ RECIPE_MAINTAINER_pn-llvm = "Khem Raj <[email protected]>" RECIPE_MAINTAINER_pn-logrotate = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER_pn-lrzsz = "Anuj Mittal <[email protected]>"-RECIPE_MAINTAINER_pn-lsb = "Hongxu Jia <[email protected]>"-RECIPE_MAINTAINER_pn-lsbinitscripts = "Ross Burton <[email protected]>"-RECIPE_MAINTAINER_pn-lsbtest = "Yi Zhao <[email protected]>"+RECIPE_MAINTAINER_pn-lsb-release = "Hongxu Jia <[email protected]>" RECIPE_MAINTAINER_pn-lsof = "Ross Burton <[email protected]>" RECIPE_MAINTAINER_pn-ltp = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER_pn-lttng-modules = "Richard Purdie <[email protected]>"diff --git a/poky/meta/conf/distro/include/security_flags.incb/poky/meta/conf/distro/include/security_flags.inc index 620978a.aaf04e9 100644 --- a/poky/meta/conf/distro/include/security_flags.inc +++ b/poky/meta/conf/distro/include/security_flags.inc @@ -36,7 +36,7 @@ SECURITY_CFLAGS_pn-libgcc_powerpc = "" SECURITY_CFLAGS_pn-glibc = ""-SECURITY_CFLAGS_pn-glibc-initial = ""+SECURITY_CFLAGS_pn-glibc-testsuite = "" SECURITY_CFLAGS_pn-gcc-runtime = "" SECURITY_CFLAGS_pn-grub = "" SECURITY_CFLAGS_pn-grub-efi = ""@@ -60,7 +60,7 @@ SECURITY_STACK_PROTECTOR_pn-gcc-runtime = "" SECURITY_STACK_PROTECTOR_pn-glibc = ""-SECURITY_STACK_PROTECTOR_pn-glibc-initial = ""+SECURITY_STACK_PROTECTOR_pn-glibc-testsuite = "" # All xorg module drivers need to be linked this way as well and are # handled in recipes-graphics/xorg-driver/xorg-driver-common.inc SECURITY_LDFLAGS_pn-xserver-xorg = "${SECURITY_X_LDFLAGS}"diff --git a/poky/meta/conf/distro/include/tcmode-default.incb/poky/meta/conf/distro/include/tcmode-default.inc index c89b8e0.d8f4346 100644 --- a/poky/meta/conf/distro/include/tcmode-default.inc +++ b/poky/meta/conf/distro/include/tcmode-default.inc @@ -14,8 +14,6 @@ PREFERRED_PROVIDER_virtual/${SDK_PREFIX}compilerlibs = "nativesdk-gcc-runtime" # Default libc config-PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial"-PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial ?= "nativesdk-glibc-initial" PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "9.%"@@ -23,7 +21,7 @@ BINUVERSION ?= "2.32%" GDBVERSION ?= "8.3%" GLIBCVERSION ?= "2.30%"-LINUXLIBCVERSION ?= "5.0%"+LINUXLIBCVERSION ?= "5.2%" QEMUVERSION ?= "4.1%" GOVERSION ?= "1.12%" # This can not use wildcards like 8.0.% since it is also used in mesa to [email protected]@ -62,8 +60,6 @@ PREFERRED_VERSION_glibc-mtrace ?= "${GLIBCVERSION}" PREFERRED_VERSION_glibc-scripts ?= "${GLIBCVERSION}" PREFERRED_VERSION_nativesdk-glibc ?= "${GLIBCVERSION}"-PREFERRED_VERSION_glibc-initial ?= "${GLIBCVERSION}"-PREFERRED_VERSION_nativesdk-glibc-initial ?= "${GLIBCVERSION}" PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}" PREFERRED_VERSION_qemu ?= "${QEMUVERSION}"diff --git a/poky/meta/conf/distro/include/world-broken.inc b/poky/meta/conf/distro/include/world-broken.inc deleted file mode 100644 index 42cacfd.0000000 --- a/poky/meta/conf/distro/include/world-broken.inc +++ /dev/null @@ -1,27 +0,0 @@ -#-# Exclude known broken packages-#--# rt-tests needs PI mutex support in libc-EXCLUDE_FROM_WORLD_pn-rt-tests_libc-musl = "1"--# error: use of undeclared identifier '_STAT_VER'-EXCLUDE_FROM_WORLD_pn-pseudo_libc-musl = "1"--# error: error.h: No such file or directory-EXCLUDE_FROM_WORLD_pn-prelink_libc-musl = "1"--# error: obstack.h: No such file or directory-EXCLUDE_FROM_WORLD_pn-systemtap_libc-musl = "1"-EXCLUDE_FROM_WORLD_pn-systemtap-uprobes_libc-musl = "1"--# error: a parameter list without types is only allowed in a function definition-# void (*_function)(sigval_t);-EXCLUDE_FROM_WORLD_pn-qemu_libc-musl = "1"--# error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=]-# snprintf(buf, size, driverfix license key [14 may 2017]  ❌, "%s", strerror_r(err, sbuf, sizeof(sbuf)));-EXCLUDE_FROM_WORLD_pn-perf_libc-musl = "1"--# error: 'RTLD_NEXT' was not declared in this scope-EXCLUDE_FROM_WORLD_pn-gcc-sanitizers_libc-musl = "1"diff --git a/poky/meta/conf/machine/include/arm/feature-arm-thumb.incb/poky/meta/conf/machine/include/arm/feature-arm-thumb.inc index 0b47cca.bae169d 100644 --- a/poky/meta/conf/machine/include/arm/feature-arm-thumb.inc +++ b/poky/meta/conf/machine/include/arm/feature-arm-thumb.inc @@ -1,8 +1,6 @@ TUNEVALID[thumb] = "Support Thumb instructions"-ARM_THUMB_SUFFIX = "${@bb.utils.contains_any('TUNE_FEATURES', 'armv4 armv5 armv6', driverfix license key [14 may 2017]  ❌, 't2', d)}"- # If the device supports ARM, then respect ARM_THUMB_OPT (which can be "arm" or "thumb") # If the device doesn't support ARM, then always set "thumb" even when # some recipe explicitly sets ARM_INSTRUCTION_SET driverfix license key [14 may 2017]  ❌ "arm"@@ -23,6 +21,11 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ' -m${ARM_M_OPT}', '', driverfix license key [14 may 2017]  ❌, d)}"+ARM_THUMB_SUFFIX = "t2"+ARM_THUMB_SUFFIX_armv4 = "t"+ARM_THUMB_SUFFIX_armv5 = "t"+ARM_THUMB_SUFFIX_armv6 = "t"+ # Add suffix from ARM_THUMB_SUFFIX only if after all this we still set ARM_M_OPT to thumb ARMPKGSFX_THUMB .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', '${ARM_THUMB_SUFFIX}', '', d) if d.getVar('ARM_M_OPT') == 'thumb' else ''}"diff --git a/poky/meta/conf/machine/include/powerpc/arch-powerpc.incb/poky/meta/conf/machine/include/powerpc/arch-powerpc.inc index 9cf6b88.8c0c943 100644 --- a/poky/meta/conf/machine/include/powerpc/arch-powerpc.inc +++ b/poky/meta/conf/machine/include/powerpc/arch-powerpc.inc @@ -8,6 +8,11 @@ TUNE_PKGARCH = "${TUNE_PKGARCH_tune-${DEFAULTTUNE}}" ABIEXTENSION ?= ""+# Endian+TUNEVALID[bigendian] = "Use PowerPC Big Endian"++TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "bigendian", " -mbig-endian", " -mlittle-endian", d)}"+ TUNEVALID[m32] = "Power ELF32 standard ABI" TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'm32', ' -m32', driverfix license key [14 may 2017]  ❌, '', d)}" TUNE_ARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'm32', 'powerpc', '', d)}"@@ -22,13 +27,24 @@ TUNEVALID[altivec] = "Altivec" # Basic tune definitions-AVAILTUNES += "powerpc powerpc-nf" -TUNE_FEATURES_tune-powerpc-nf = "m32 fpu-soft"+AVAILTUNES += "powerpc powerpc-nf powerpcle powerpcle-nf" ++TUNE_FEATURES_tune-powerpc-nf = "m32 fpu-soft bigendian" BASE_LIB_tune-powerpc-nf = "lib" TUNE_PKGARCH_tune-powerpc-nf = "powerpc-nf" PACKAGE_EXTRA_ARCHS_tune-powerpc-nf = "powerpc-nf"-TUNE_FEATURES_tune-powerpc = "m32 fpu-hard"+TUNE_FEATURES_tune-powerpc = "m32 fpu-hard bigendian" BASE_LIB_tune-powerpc = "lib" TUNE_PKGARCH_tune-powerpc = driverfix license key [14 may 2017]  ❌ PACKAGE_EXTRA_ARCHS_tune-powerpc = "powerpc"++TUNE_FEATURES_tune-powerpcle-nf = "m32 fpu-soft"+BASE_LIB_tune-powerpcle-nf = "lib"+TUNE_PKGARCH_tune-powerpcle-nf = "powerpcle-nf"+PACKAGE_EXTRA_ARCHS_tune-powerpcle-nf = "powerpcle-nf"++TUNE_FEATURES_tune-powerpcle = "m32 fpu-hard"+BASE_LIB_tune-powerpcle = "lib"+TUNE_PKGARCH_tune-powerpcle = "powerpcle"+PACKAGE_EXTRA_ARCHS_tune-powerpcle = "powerpcle"diff --git a/poky/meta/conf/machine/include/powerpc/arch-powerpc64.incb/poky/meta/conf/machine/include/powerpc/arch-powerpc64.inc index d9916d4.4bc5983 100644 --- a/poky/meta/conf/machine/include/powerpc/arch-powerpc64.inc +++ b/poky/meta/conf/machine/include/powerpc/arch-powerpc64.inc @@ -13,8 +13,14 @@ # user mode qemu doesn't support ppc64 MACHINE_FEATURES_BACKFILL_CONSIDERED_append = " ${@bb.utils.contains('TUNE_FEATURES', driverfix license key [14 may 2017]  ❌, 'm64', 'qemu-usermode', '', d)}"-AVAILTUNES += "powerpc64"-TUNE_FEATURES_tune-powerpc64 = "m64 fpu-hard"+AVAILTUNES += "powerpc64 powerpc64le"++TUNE_FEATURES_tune-powerpc64 = "m64 fpu-hard bigendian" BASE_LIB_tune-powerpc64 = "lib64" TUNE_PKGARCH_tune-powerpc64 = "powerpc64" PACKAGE_EXTRA_ARCHS_tune-powerpc64 = "powerpc64"++TUNE_FEATURES_tune-powerpc64le = "m64 fpu-hard"+BASE_LIB_tune-powerpc64le = "lib64"+TUNE_PKGARCH_tune-powerpc64le = "powerpc64le"+PACKAGE_EXTRA_ARCHS_tune-powerpc64le = "powerpc64le"diff --git a/poky/meta/conf/machine/include/qemuboot-mips.incb/poky/meta/conf/machine/include/qemuboot-mips.inc index a5f9ed8.978820a 100644 --- a/poky/meta/conf/machine/include/qemuboot-mips.inc +++ b/poky/meta/conf/machine/include/qemuboot-mips.inc @@ -1,8 +1,7 @@ # For runqemu IMAGE_CLASSES += "qemuboot"-QB_MEM = "-m 256" QB_MACHINE = "-machine malta" QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty"-QB_OPT_APPEND = "-vga cirrus -show-cursor -usb -device usb-tablet"+QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet" # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0"diff --git a/poky/meta/conf/machine/include/qemuboot-x86.incb/poky/meta/conf/machine/include/qemuboot-x86.inc index 3931b0f.495418f 100644 --- a/poky/meta/conf/machine/include/qemuboot-x86.inc +++ b/poky/meta/conf/machine/include/qemuboot-x86.inc @@ -9,7 +9,7 @@ QB_AUDIO_DRV = "alsa" QB_AUDIO_OPT = "-soundhw ac97,es1370" QB_KERNEL_CMDLINE_APPEND = "vga=0 uvesafb.mode_option=${UVESA_MODE} oprofile.timer=1 uvesafb.task_timeout=-1"-QB_OPT_APPEND = "-vga vmware -show-cursor -usb -device usb-tablet"+QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet" # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0"diff --git a/poky/meta/conf/machine/include/riscv/qemuriscv.incb/poky/meta/conf/machine/include/riscv/qemuriscv.inc index f1cb628.df35f28 100644 --- a/poky/meta/conf/machine/include/riscv/qemuriscv.inc +++ b/poky/meta/conf/machine/include/riscv/qemuriscv.inc @@ -11,7 +11,9 @@ SERIAL_CONSOLES ?= "115200;ttyS0 115200;hvc0"-IMAGE_FSTYPES_append = " ext4"+IMAGE_FSTYPES += "ext4 wic.qcow2"++WKS_FILE ?= "qemuriscv.wks" MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"@@ -24,7 +26,6 @@ # qemuboot options QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi"-QB_MEM = "-m 512" QB_MACHINE = "-machine virt" QB_DEFAULT_BIOS = "fw_jump.elf" QB_TAP_OPT = "-netdev tap,id=net0,[email protected]@,script=no,downscript=no"diff --git a/poky/meta/conf/machine/include/riscv/tune-riscv.incb/poky/meta/conf/machine/include/riscv/tune-riscv.inc index 1e3a108.25d0463 100644 --- a/poky/meta/conf/machine/include/riscv/tune-riscv.inc +++ b/poky/meta/conf/machine/include/riscv/tune-riscv.inc @@ -3,16 +3,16 @@ TUNEVALID[riscv64] = "Enable 64-bit RISC-V optimizations" TUNEVALID[riscv32] = "Enable 32-bit RISC-V optimizations"-TUNEVALID[littleendian] = "Little endian mode"+TUNEVALID[bigendian] = "Big endian mode" AVAILTUNES += "riscv64 riscv32"-TUNE_FEATURES_tune-riscv64 = "riscv64 littleendian"+TUNE_FEATURES_tune-riscv64 = "riscv64" TUNE_ARCH_tune-riscv64 = "riscv64" Driverfix license key [14 may 2017]  ❌ = "riscv64" PACKAGE_EXTRA_ARCHS_tune-riscv64 = "riscv64"-TUNE_FEATURES_tune-riscv32 = "riscv32 littleendian"+TUNE_FEATURES_tune-riscv32 = "riscv32" TUNE_ARCH_tune-riscv32 = "riscv32" TUNE_PKGARCH_tune-riscv32 = "riscv32" PACKAGE_EXTRA_ARCHS_tune-riscv32 = "riscv32"diff --git a/poky/meta/conf/machine/include/tune-arm1136jf-s.incb/poky/meta/conf/machine/include/tune-arm1136jf-s.inc index d883eba.b25995d 100644 --- a/poky/meta/conf/machine/include/tune-arm1136jf-s.inc +++ b/poky/meta/conf/machine/include/tune-arm1136jf-s.inc @@ -6,8 +6,11 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm1136jfs', ' -mcpu=arm1136jf-s', '', d)}" MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'arm1136jfs', 'armv6:', '' ,d)}"-AVAILTUNES += "arm1136jfs"+AVAILTUNES += "arm1136jfs arm1136jfshf" ARMPKGARCH_tune-arm1136jfs = "arm1136jfs"+ARMPKGARCH_tune-arm1136jfshf = "arm1136jfs" # mcpu is used so don't use armv6 as we don't want march TUNE_FEATURES_tune-arm1136jfs = "arm arm1136jfs"+TUNE_FEATURES_tune-arm1136jfshf = "${TUNE_FEATURES_tune-arm1136jfs} callconvention-hard" PACKAGE_EXTRA_ARCHS_tune-arm1136jfs = "${PACKAGE_EXTRA_ARCHS_tune-armv6} arm1136jfs-vfp"+PACKAGE_EXTRA_ARCHS_tune-arm1136jfshf = "${PACKAGE_EXTRA_ARCHS_tune-armv6hf} arm1136jfshf-vfp"diff --git a/poky/meta/conf/machine/include/tune-arm1176jz-s.inc b/poky/meta/conf/machine/include/tune-arm1176jz-s.inc new file mode 100644 index 0000000.c741e80 --- /dev/null +++ b/poky/meta/conf/machine/include/tune-arm1176jz-s.inc @@ -0,0 +1,17 @@ +DEFAULTTUNE ?= "arm1176jzs"++require conf/machine/include/arm/arch-armv6.inc++TUNEVALID[arm1176jzs] = "Enable arm1176jzs specific processor optimizations"+TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', driverfix license key [14 may 2017]  ❌, 'arm1176jzs', ' -mcpu=arm1176jz-s', '', driverfix license key [14 may 2017]  ❌, d)}"+MACHINEOVERRIDES =, driverfix license key [14 may 2017]  ❌. "${@bb.utils.contains('TUNE_FEATURES', 'arm1176jzs', 'armv6:', '' ,d)}"++AVAILTUNES += "arm1176jzs"+ARMPKGARCH_tune-arm1176jzs = "arm1176jzs"+TUNE_FEATURES_tune-arm1176jzs = "arm thumb arm1176jzs"+PACKAGE_EXTRA_ARCHS_tune-arm1176jzs = "${PACKAGE_EXTRA_ARCHS_tune-armv6tb-novfp} arm1176jzs arm1176jzst"++AVAILTUNES += "arm1176jzs-be"+ARMPKGARCH_tune-arm1176jzs-be = "${ARMPKGARCH_tune-arm1176jzs}"+TUNE_FEATURES_tune-arm1176jzs-be = "${TUNE_FEATURES_tune-arm1176jzs} bigendian"+PACKAGE_EXTRA_ARCHS_tune-arm1176jzs-be = "${PACKAGE_EXTRA_ARCHS_tune-armv6tb-novfp} arm1176jzsb arm1176jzstb"diff --git a/poky/meta/conf/machine/include/tune-ep9312.incb/poky/meta/conf/machine/include/tune-ep9312.inc index 4d92821.be20eb3 100644 --- a/poky/meta/conf/machine/include/tune-ep9312.inc +++ b/poky/meta/conf/machine/include/tune-ep9312.inc @@ -2,7 +2,7 @@ require conf/machine/include/arm/arch-armv4.inc-TUNEVALID[ep9312] = "Enable Intel PXA27x specific processor optimizations"+TUNEVALID[ep9312] = "Enable Cirrus Logic EP9312 specific processor optimizations" TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ep9312', ' -march=ep9312 -mcpu=ep9312', '', d)}" MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'ep9312', 'armv4:', driverfix license key [14 may 2017]  ❌ ,d)}"diff --git a/poky/meta/conf/machine/include/tune-power5.incb/poky/meta/conf/machine/include/tune-power5.inc index 39501bd.48c33fb 100644 --- a/poky/meta/conf/machine/include/tune-power5.inc +++ b/poky/meta/conf/machine/include/tune-power5.inc @@ -6,12 +6,12 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'power5', ' -mcpu=power5', '', driverfix license key [14 may 2017]  ❌, d)}" AVAILTUNES += "ppcp5 ppc64p5"-TUNE_FEATURES_tune-ppcp5 = "m32 fpu-hard power5 altivec"+TUNE_FEATURES_tune-ppcp5 = "m32 fpu-hard power5 altivec bigendian" BASE_LIB_tune-ppcp5 = "lib" TUNE_PKGARCH_tune-ppcp5 = "ppcp5" PACKAGE_EXTRA_ARCHS_tune-ppcp5 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppcp5"-TUNE_FEATURES_tune-ppc64p5 = driverfix license key [14 may 2017]  ❌ fpu-hard power5 altivec"+TUNE_FEATURES_tune-ppc64p5 = "m64 fpu-hard power5 altivec bigendian" BASE_LIB_tune-ppc64p5 = "lib64" TUNE_PKGARCH_tune-ppc64p5 = "ppc64p5" PACKAGE_EXTRA_ARCHS_tune-ppc64p5 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64p5"diff --git a/poky/meta/conf/machine/include/tune-power6.incb/poky/meta/conf/machine/include/tune-power6.inc index 1d5e8ec.b708660 100644 --- a/poky/meta/conf/machine/include/tune-power6.inc +++ b/poky/meta/conf/machine/include/tune-power6.inc @@ -6,12 +6,12 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'power6', ' -mcpu=power6', '', d)}" AVAILTUNES += "ppcp6 ppc64p6"-TUNE_FEATURES_tune-ppcp6 = "m32 fpu-hard power6 altivec"+TUNE_FEATURES_tune-ppcp6 = "m32 fpu-hard power6 altivec bigendian" BASE_LIB_tune-ppcp6 = "lib" TUNE_PKGARCH_tune-ppcp6 = "ppcp6" PACKAGE_EXTRA_ARCHS_tune-ppcp6 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppcp6"-TUNE_FEATURES_tune-ppc64p6 = "m64 fpu-hard power6 altivec"+TUNE_FEATURES_tune-ppc64p6 = "m64 fpu-hard power6 altivec bigendian" BASE_LIB_tune-ppc64p6 = "lib64" TUNE_PKGARCH_tune-ppc64p6 = "ppc64p6" PACKAGE_EXTRA_ARCHS_tune-ppc64p6 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64p6"diff --git a/poky/meta/conf/machine/include/tune-power7.incb/poky/meta/conf/machine/include/tune-power7.inc index 8f3f037.e976cc0 100644 --- a/poky/meta/conf/machine/include/tune-power7.inc +++ b/poky/meta/conf/machine/include/tune-power7.inc @@ -6,12 +6,12 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'power7', ' -mcpu=power7', '', d)}" AVAILTUNES += "ppcp7 ppc64p7"-TUNE_FEATURES_tune-ppcp7 = "m32 fpu-hard power7 altivec"+TUNE_FEATURES_tune-ppcp7 = "m32 fpu-hard power7 altivec bigendian" BASE_LIB_tune-ppcp7 = "lib" TUNE_PKGARCH_tune-ppcp7 = "ppcp7" PACKAGE_EXTRA_ARCHS_tune-ppcp7 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppcp7"-TUNE_FEATURES_tune-ppc64p7 = "m64 fpu-hard power7 altivec"+TUNE_FEATURES_tune-ppc64p7 = "m64 fpu-hard power7 altivec bigendian" BASE_LIB_tune-ppc64p7 = "lib64" TUNE_PKGARCH_tune-ppc64p7 = "ppc64p7" PACKAGE_EXTRA_ARCHS_tune-ppc64p7 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64p7"diff --git a/poky/meta/conf/machine/include/tune-ppc476.incb/poky/meta/conf/machine/include/tune-ppc476.inc index d0011ff.31eecc4 100644 --- a/poky/meta/conf/machine/include/tune-ppc476.inc +++ b/poky/meta/conf/machine/include/tune-ppc476.inc @@ -6,7 +6,7 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppc476', ' -mcpu=476', '', d)}" AVAILTUNES += "ppc476"-TUNE_FEATURES_tune-ppc476 = "m32 fpu-hard ppc476"+TUNE_FEATURES_tune-ppc476 = driverfix license key [14 may 2017]  ❌ fpu-hard ppc476 bigendian" TUNE_PKGARCH_tune-ppc476 = "ppc476" PACKAGE_EXTRA_ARCHS_tune-ppc476 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc476"diff --git a/poky/meta/conf/machine/include/tune-ppc603e.incb/poky/meta/conf/machine/include/tune-ppc603e.inc index 13f60dd.b110f13 100644 --- a/poky/meta/conf/machine/include/tune-ppc603e.inc +++ b/poky/meta/conf/machine/include/tune-ppc603e.inc @@ -6,7 +6,7 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppc603e', ' -mcpu=603e', '', d)}" AVAILTUNES += "ppc603e"-TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e"+TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e bigendian" TUNE_PKGARCH_tune-ppc603e = "ppc603e" PACKAGE_EXTRA_ARCHS_tune-ppc603e = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} driverfix license key [14 may 2017]  ❌ --git a/poky/meta/conf/machine/include/tune-ppc7400.incb/poky/meta/conf/machine/include/tune-ppc7400.inc index 425e8bd.92d9029 100644 --- a/poky/meta/conf/machine/include/tune-ppc7400.inc +++ b/poky/meta/conf/machine/include/tune-ppc7400.inc @@ -6,7 +6,7 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppc7400', ' -mcpu=7400 -mno-spe', '', d)}" AVAILTUNES += "ppc7400"-TUNE_FEATURES_tune-ppc7400 = "m32 fpu-hard ppc7400 altivec"+TUNE_FEATURES_tune-ppc7400 = "m32 fpu-hard ppc7400 altivec bigendian" TUNE_PKGARCH_tune-ppc7400 = "ppc7400" PACKAGE_EXTRA_ARCHS_tune-ppc7400 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc7400"diff --git a/poky/meta/conf/machine/include/tune-ppce300c2.incb/poky/meta/conf/machine/include/tune-ppce300c2.inc index driverfix license key [14 may 2017]  ❌ 100644 --- a/poky/meta/conf/machine/include/tune-ppce300c2.inc +++ b/poky/meta/conf/machine/include/tune-ppce300c2.inc @@ -6,6 +6,6 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppce300c2', ' -mcpu=e300c2', '', d)}" AVAILTUNES += "ppce300c2"-TUNE_FEATURES_tune-ppce300c2 = "m32 fpu-soft ppce300c2"+TUNE_FEATURES_tune-ppce300c2 = "m32 fpu-soft ppce300c2 bigendian" TUNE_PKGARCH_tune-ppce300c2 = "ppce300c2" PACKAGE_EXTRA_ARCHS_tune-ppce300c2 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppce300c2"diff --git a/poky/meta/conf/machine/include/tune-ppce500.incb/poky/meta/conf/machine/include/tune-ppce500.inc index 89ec3f3.abf81b9 100644 --- a/poky/meta/conf/machine/include/tune-ppce500.inc +++ driverfix license key [14 may 2017]  ❌ @@ -15,6 +15,6 @@ ABIEXTENSION .= "${SPEABIEXTENSION}" AVAILTUNES += "ppce500"-TUNE_FEATURES_tune-ppce500 = "m32 spe ppce500"+TUNE_FEATURES_tune-ppce500 = "m32 spe ppce500 bigendian" TUNE_PKGARCH_tune-ppce500 = "ppce500" PACKAGE_EXTRA_ARCHS_tune-ppce500 = "ppce500"diff --git a/poky/meta/conf/machine/include/tune-ppce500mc.incb/poky/meta/conf/machine/include/tune-ppce500mc.inc index bc26a0f.9f8a172 100644 --- a/poky/meta/conf/machine/include/tune-ppce500mc.inc +++ b/poky/meta/conf/machine/include/tune-ppce500mc.inc @@ -6,7 +6,7 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppce500mc', ' -mcpu=e500mc', '', d)}" AVAILTUNES += "ppce500mc"-TUNE_FEATURES_tune-ppce500mc = "m32 fpu-hard ppce500mc"+TUNE_FEATURES_tune-ppce500mc = "m32 fpu-hard ppce500mc bigendian" TUNE_PKGARCH_tune-ppce500mc = "ppce500mc" PACKAGE_EXTRA_ARCHS_tune-ppce500mc = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppce500mc"diff --git a/poky/meta/conf/machine/include/tune-ppce500v2.incb/poky/meta/conf/machine/include/tune-ppce500v2.inc index d318bba.f6c7c17 100644 --- a/poky/meta/conf/machine/include/tune-ppce500v2.inc +++ b/poky/meta/conf/machine/include/tune-ppce500v2.inc @@ -15,6 +15,6 @@ ABIEXTENSION .= "${SPEABIEXTENSION}" AVAILTUNES += "ppce500v2"-TUNE_FEATURES_tune-ppce500v2 = "m32 ppce500v2"+TUNE_FEATURES_tune-ppce500v2 = "m32 ppce500v2 bigendian" TUNE_PKGARCH_tune-ppce500v2 = "ppce500v2" PACKAGE_EXTRA_ARCHS_tune-ppce500v2 = "ppce500v2"diff --git a/poky/meta/conf/machine/include/tune-ppce5500.incb/poky/meta/conf/machine/include/tune-ppce5500.inc index cebb244.acc6a50 100644 --- a/poky/meta/conf/machine/include/tune-ppce5500.inc +++ b/poky/meta/conf/machine/include/tune-ppce5500.inc @@ -6,12 +6,12 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'e5500', ' -mcpu=e5500', '', d)}" AVAILTUNES += "ppce5500 ppc64e5500"-TUNE_FEATURES_tune-ppce5500 = "m32 fpu-hard e5500"+TUNE_FEATURES_tune-ppce5500 = "m32 fpu-hard e5500 bigendian" BASE_LIB_tune-ppce5500 = "lib" TUNE_PKGARCH_tune-ppce5500 = "ppce5500" PACKAGE_EXTRA_ARCHS_tune-ppce5500 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppce5500"-TUNE_FEATURES_tune-ppc64e5500 = "m64 fpu-hard e5500"+TUNE_FEATURES_tune-ppc64e5500 = "m64 fpu-hard e5500 bigendian" BASE_LIB_tune-ppc64e5500 = "lib64" TUNE_PKGARCH_tune-ppc64e5500 = "ppc64e5500" PACKAGE_EXTRA_ARCHS_tune-ppc64e5500 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64e5500"diff --git a/poky/meta/conf/machine/include/tune-ppce6500.incb/poky/meta/conf/machine/include/tune-ppce6500.inc index 5db7e76.d12d218 100644 --- a/poky/meta/conf/machine/include/tune-ppce6500.inc +++ b/poky/meta/conf/machine/include/tune-ppce6500.inc @@ -6,12 +6,12 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'e6500', ' -mcpu=e6500', driverfix license key [14 may 2017]  ❌, '', d)}" AVAILTUNES += "ppce6500 ppc64e6500"-TUNE_FEATURES_tune-ppce6500 = "m32 fpu-hard e6500 altivec"+TUNE_FEATURES_tune-ppce6500 = "m32 fpu-hard e6500 altivec bigendian" BASE_LIB_tune-ppce6500 = "lib" TUNE_PKGARCH_tune-ppce6500 = "ppce6500" PACKAGE_EXTRA_ARCHS_tune-ppce6500 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppce6500"-TUNE_FEATURES_tune-ppc64e6500 = "m64 fpu-hard e6500 altivec"+TUNE_FEATURES_tune-ppc64e6500 = "m64 fpu-hard e6500 altivec bigendian" BASE_LIB_tune-ppc64e6500 = "lib64" TUNE_PKGARCH_tune-ppc64e6500 = "ppc64e6500" PACKAGE_EXTRA_ARCHS_tune-ppc64e6500 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64e6500"diff --git a/poky/meta/conf/machine/include/x86-base.incb/poky/meta/conf/machine/include/x86-base.inc index 686f938.0227f3c 100644 --- a/poky/meta/conf/machine/include/x86-base.inc +++ b/poky/meta/conf/machine/include/x86-base.inc @@ -18,7 +18,7 @@ # kernel-related variables # PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto"-PREFERRED_VERSION_linux-yocto ??= "5.0%"+PREFERRED_VERSION_linux-yocto ??= "5.2%" # # XSERVER subcomponents, used to build the XSERVER variablediff --git a/poky/meta/conf/machine/qemuarm.confb/poky/meta/conf/machine/qemuarm.conf index 0a2c995.26f40b1 100644 --- a/poky/meta/conf/machine/qemuarm.conf +++ b/poky/meta/conf/machine/qemuarm.conf @@ -11,7 +11,6 @@ # For runqemu QB_SYSTEM_NAME = "qemu-system-arm"-QB_MEM = "-m 512" QB_MACHINE = "-machine virt" QB_CPU = "-cpu cortex-a15" # Standard Serial consolediff --git a/poky/meta/conf/machine/qemuarm64.confb/poky/meta/conf/machine/qemuarm64.conf index 353ac92.ec2a887 100644 --- a/poky/meta/conf/machine/qemuarm64.conf +++ b/poky/meta/conf/machine/qemuarm64.conf @@ -11,7 +11,6 @@ # For runqemu QB_SYSTEM_NAME = "qemu-system-aarch64"-QB_MEM = "-m 512" QB_MACHINE = "-machine virt" QB_CPU = "-cpu cortex-a57" QB_CPU_KVM = "-cpu host"diff --git a/poky/meta/conf/machine/qemuarmv5.confb/poky/meta/conf/machine/qemuarmv5.conf index 1c21d33.fb4789f 100644 --- a/poky/meta/conf/machine/qemuarmv5.conf +++ b/poky/meta/conf/machine/qemuarmv5.conf @@ -17,7 +17,7 @@ QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet" # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0"-PREFERRED_VERSION_linux-yocto ??= "5.0%"+PREFERRED_VERSION_linux-yocto ??= "5.2%" QB_DTB = "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', driverfix license key [14 may 2017]  ❌, 'zImage-versatile-pb.dtb', d)}" KMACHINE_qemuarmv5 = "qemuarm"diff --git a/poky/meta/conf/machine/qemux86-64.confb/poky/meta/conf/machine/qemux86-64.conf index 4b50e66.648cf2f 100644 --- a/poky/meta/conf/machine/qemux86-64.conf +++ b/poky/meta/conf/machine/qemux86-64.conf @@ -18,12 +18,16 @@ SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1"+# Install swrast and glx if opengl is in DISTRO_FEATURES and x32 is not in use.+# This is because gallium swrast driver was found to crash X server on startup in qemu x32, driverfix license key [14 may 2017]  ❌. XSERVER = "xserver-xorg \- ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \+ driverfix license key [14 may 2017]  ❌ bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'mesa-driver-swrast xserver-xorg-extension-glx', d), '', d)} \ driverfix license key [14 may 2017]  ❌ xf86-video-cirrus \ xf86-video-fbdev \ xf86-video-vmware \ xf86-video-modesetting \+ xf86-video-vesa \ xserver-xorg-module-libint10 \ "diff --git a/poky/meta/conf/machine/qemux86.confb/poky/meta/conf/machine/qemux86.conf index 3832302.8e0da82 100644 --- a/poky/meta/conf/machine/qemux86.conf +++ b/poky/meta/conf/machine/qemux86.conf @@ -24,6 +24,7 @@ xf86-video-fbdev \ xf86-video-vmware \ xf86-video-modesetting \+ xf86-video-vesa \ xserver-xorg-module-libint10 \ "diff --git a/poky/meta/files/common-licenses/BSD-2-Clauseb/poky/meta/files/common-licenses/BSD-2-Clause index ade0f34.f1917d6 100644 driverfix license key [14 may 2017]  ❌ a/poky/meta/files/common-licenses/BSD-2-Clause +++ b/poky/meta/files/common-licenses/BSD-2-Clause @@ -1,13 +1,10 @@ -The FreeBSD Copyright--Copyright 1992-2010 The FreeBSD Project. All rights reserved.+Copyright <YEAR> <COPYRIGHT HOLDER> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:-Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.-Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.-THIS SOFTWARE IS PROVIDED BY THE FREEBSD PROJECT ``AS IS`` AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, driverfix license key [14 may 2017]  ❌, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.-The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of the FreeBSD Project.+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, driverfix license key [14 may 2017]  ❌, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, driverfix license key [14 may 2017]  ❌, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.diff --git a/poky/meta/lib/oe/gpg_sign.pyb/poky/meta/lib/oe/gpg_sign.py index d762480.7634d7e 100644 --- a/poky/meta/lib/oe/gpg_sign.py +++ b/poky/meta/lib/oe/gpg_sign.py @@ -6,7 +6,6 @@ import os import bb-import oe.utils import subprocess import shlexdiff --git a/poky/meta/lib/oeqa/core/context.pyb/poky/meta/lib/oeqa/core/context.py index 68819cc.14fc6a5 100644 --- a/poky/meta/lib/oeqa/core/context.py +++ b/poky/meta/lib/oeqa/core/context.py @@ -64,12 +64,12 @@ setattr(tclass, 'setUpHooker', skipfuncgen('Skip by the command line argument "%s"' % skip)) def loadTests(self, module_paths, modules=[], tests=[],- modules_manifest="", modules_required=[], driverfix license key [14 may 2017]  ❌, filters={}):+ modules_manifest="", modules_required=[], **kwargs): if modules_manifest: modules = self._read_modules_from_manifest(modules_manifest) self.loader = self.loaderClass(self, module_paths, modules, tests,- modules_required, driverfix license key [14 may 2017]  ❌, filters)+ modules_required, **kwargs) self.suites = self.loader.discover() def runTests(self, processes=None, skips=[]):diff --git a/poky/meta/lib/oeqa/core/decorator/__init__.pyb/poky/meta/lib/oeqa/core/decorator/__init__.py index 923b218.1a82518 100644 --- a/poky/meta/lib/oeqa/core/decorator/__init__.py +++ b/poky/meta/lib/oeqa/core/decorator/__init__.py @@ -6,6 +6,7 @@ from functools import wraps from abc import abstractmethod, ABCMeta+from oeqa.core.utils.misc import strToList decoratorClasses = set()@@ -63,12 +64,16 @@ def discover(registry): return registry['cases']-class OETestFilter(OETestDecorator):+def OETestTag(*tags):+ expandedtags = []+ for tag in tags:+ expandedtags += strToList(tag)+ def decorator(item):+ if hasattr(item, "__oeqa_testtags"):+ # do not append, create a new list (to handle classes with inheritance)+ item.__oeqa_testtags = list(item.__oeqa_testtags) + expandedtags+ else:+ item.__oeqa_testtags = expandedtags+ return item+ return decorator- # OETestLoader call it while loading the tests- # in loadTestsFromTestCase method, it needs to- # return a bool, True if needs to be filtered.- # This method must consume the filter used.- @abstractmethod- def filtrate(self, filters):- return Falsediff --git a/poky/meta/lib/oeqa/core/decorator/oetag.py b/poky/meta/lib/oeqa/core/decorator/oetag.py deleted file mode 100644 index 8c31138.0000000 --- a/poky/meta/lib/oeqa/core/decorator/oetag.py +++ /dev/null @@ -1,27 +0,0 @@ -#-# Copyright (C) 2016 Intel Corporation-#-# SPDX-License-Identifier: MIT-#--from. import OETestFilter, registerDecorator-from oeqa.core.utils.misc import strToList--def _tagFilter(tags, filters):- return False if set(tags) & set(filters) else [email protected] OETestTag(OETestFilter):- attrs = ('oetag',)-- def bind(self, registry, driverfix license key [14 may 2017]  ❌, case):- driverfix license key [14 may 2017]  ❌ super(OETestTag, self).bind(registry, case)- self.oetag = strToList(self.oetag, 'oetag')-- def filtrate(self, filters):- if filters.get('oetag'):- filterx = strToList(filters['oetag'], 'oetag')- del filters['oetag']- if _tagFilter(self.oetag, filterx):- driverfix license key [14 may 2017]  ❌ return True- return Falsediff --git a/poky/meta/lib/oeqa/core/loader.pyb/poky/meta/lib/oeqa/core/loader.py index 7fea058.0d7970d 100644 --- a/poky/meta/lib/oeqa/core/loader.py +++ b/poky/meta/lib/oeqa/core/loader.py @@ -16,7 +16,7 @@ from oeqa.core.exception import OEQATestNotFound from oeqa.core.case import OETestCase from oeqa.core.decorator import decoratorClasses, OETestDecorator, \- OETestFilter, driverfix license key [14 may 2017]  ❌, OETestDiscover+ driverfix license key [14 may 2017]  ❌ OETestDiscover # When loading tests, the unittest framework stores any exceptions and # displays them only when the run method is [email protected]@ -68,7 +68,7 @@ '_top_level_dir'] def __init__(self, tc, module_paths, modules, tests, modules_required,- filters, *args, **kwargs):+ *args, **kwargs): self.tc = tc self.modules = _built_modules_dict(modules)@@ -76,13 +76,7 @@ self.tests = tests self.modules_required = modules_required- self.filters = filters- self.decorator_filters = [d for d in decoratorClasses if \- issubclass(d, OETestFilter)]- self._validateFilters(self.filters, self.decorator_filters)- self.used_filters = [d for d in self.decorator_filters- for f in self.filters- if f in d.attrs]+ self.tags_filter = kwargs.get("tags_filter", None) if isinstance(module_paths, str): module_paths = [module_paths]@@ -104,28 +98,6 @@ setattr(testCaseClass, 'td', self.tc.td) setattr(testCaseClass, 'logger', self.tc.logger)- def _validateFilters(self, filters, decorator_filters):- # Validate if filter isn't empty- driverfix license key [14 may 2017]  ❌ for key,value in filters.items():- if not value:- raise TypeError("Filter %s specified is empty" % key)-- # Validate unique attributes- attr_filters = [attr for clss in decorator_filters \- for attr in clss.attrs]- dup_attr = [attr for attr in attr_filters- if attr_filters.count(attr) > 1]- if dup_attr:- raise TypeError('Detected duplicated attribute(s) %s in filter'- ' decorators' % ' ,'.join(dup_attr))-- # Validate if filter is supported- for f in filters:- if f not in attr_filters:- classes = ', '.join([d.__name__ for d in decorator_filters])- raise TypeError('Found "%s" filter but not declared in any of '- '%s decorators' % (f, classes))- def _registerTestCase(self, case): case_id = case.id() self.tc._registry['cases'][case_id] = [email protected]@ -188,19 +160,20 @@ return True # Decorator filters- if self.filters and isinstance(case, OETestCase):- driverfix license key [14 may 2017]  ❌ filters = self.filters.copy()- case_decorators = [cd for cd in case.decorators- if cd.__class__ in self.used_filters]+ if self.tags_filter is not None and callable(self.tags_filter):+ alltags = set()+ # pull tags from the case class+ if hasattr(case, "__oeqa_testtags"):+ for t in getattr(case, "__oeqa_testtags"):+ driverfix license key [14 may 2017]  ❌ alltags.add(t)+ # pull tags from the method itself+ if hasattr(case, test_name):+ method = getattr(case, test_name)+ if hasattr(method, "__oeqa_testtags"):+ for t in getattr(method, "__oeqa_testtags"):+ alltags.add(t)- # Iterate over case decorators to check if needs to be filtered.- for cd in case_decorators:- if cd.filtrate(filters):- return True-- # Case is missing one or more decorators for all the filters- # being used, so filter test case.- if filters:+ if self.tags_filter(alltags): return True return Falsediff --git a/poky/meta/lib/oeqa/core/runner.pyb/poky/meta/lib/oeqa/core/runner.py index 930620e.f656e1a 100644 --- a/poky/meta/lib/oeqa/core/runner.py +++ b/poky/meta/lib/oeqa/core/runner.py @@ -43,6 +43,7 @@ self.starttime = {} driverfix license key [14 may 2017]  ❌ self.endtime = {} self.progressinfo = {}+ self.extraresults = {} # Inject into tc so that TestDepends decorator can see results tc.results = [email protected]@ -129,19 +130,51 @@ return 'UNKNOWN', None- def addSuccess(self, test):+ def extractExtraResults(self, test, details = None):+ extraresults = None+ if details is not None and "extraresults" in details:+ extraresults = details.get("extraresults", {})+ elif hasattr(test, "extraresults"):+ extraresults = test.extraresults++ if extraresults is not None:+ for k, v in extraresults.items():+ # handle updating already existing entries (e.g. ptestresults.sections)+ if k in self.extraresults:+ self.extraresults[k].update(v)+ else:+ self.extraresults[k] = v++ def addError(self, test, *args, details = None):+ self.extractExtraResults(test, details = details)+ return super(OETestResult, self).addError(test, *args)++ def addFailure(self, test, *args, details = None):+ self.extractExtraResults(test, details = details)+ return super(OETestResult, self).addFailure(test, *args)++ def addSuccess(self, test, details = None): #Added so we can keep track of successes too self.successes.append((test, None))- super(OETestResult, self).addSuccess(test)+ self.extractExtraResults(test, details = details)+ return super(OETestResult, self).addSuccess(test)++ def addExpectedFailure(self, test, *args, details = None):+ self.extractExtraResults(test, details = details)+ return super(OETestResult, self).addExpectedFailure(test, *args)++ def addUnexpectedSuccess(self, test, details = None):+ self.extractExtraResults(test, details = details)+ return super(OETestResult, self).addUnexpectedSuccess(test) def logDetails(self, json_file_dir=None, configuration=None, result_id=None, dump_streams=False): self.tc.logger.info("RESULTS:")- result = {}+ result = self.extraresults logs = {} if hasattr(self.tc, "extraresults"):- result = self.tc.extraresults+ result.update(self.tc.extraresults) for case_name in self.tc._registry['cases']: case = self.tc._registry['cases'][case_name]@@ -205,23 +238,20 @@ self._walked_cases = self._walked_cases + 1 def _list_tests_name(self, suite):- from oeqa.core.decorator.oetag import OETestTag- self._walked_cases = 0 def _list_cases(logger, driverfix license key [14 may 2017]  ❌, case):- oetag = None-- if hasattr(case, 'decorators'):- for d in case.decorators:- if isinstance(d, OETestTag):- oetag = d.oetag-- logger.info("%s\t\t%s" % driverfix license key [14 may 2017]  ❌, case.id()))+ oetags = []+ if hasattr(case, '__oeqa_testtags'):+ oetags = getattr(case, '__oeqa_testtags')+ if oetags:+ logger.info("%s (%s)" % (case.id(), ",".join(oetags)))+ else:+ driverfix license key [14 may 2017]  ❌ logger.info("%s" % (case.id())) self.tc.logger.info("Listing all available tests:") self._walked_cases = 0- self.tc.logger.info("id\ttag\t\ttest")+ self.tc.logger.info("test (tags)") self.tc.logger.info("-" * 80) self._walk_suite(suite, _list_cases) self.tc.logger.info("-" * 80)diff --git a/poky/meta/lib/oeqa/core/tests/cases/data.pyb/poky/meta/lib/oeqa/core/tests/cases/data.py index 0d8de87.61f8854 100644 --- a/poky/meta/lib/oeqa/core/tests/cases/data.py +++ b/poky/meta/lib/oeqa/core/tests/cases/data.py @@ -5,7 +5,7 @@ # from oeqa.core.case import OETestCase-from oeqa.core.decorator.oetag import OETestTag+from oeqa.core.decorator import OETestTag from oeqa.core.decorator.data import OETestDataDepends class DataTest(OETestCase):diff --git a/poky/meta/lib/oeqa/core/tests/cases/oetag.pyb/poky/meta/lib/oeqa/core/tests/cases/oetag.py index 4e1d080.52f97df 100644 --- a/poky/meta/lib/oeqa/core/tests/cases/oetag.py +++ b/poky/meta/lib/oeqa/core/tests/cases/oetag.py @@ -5,10 +5,9 @@ # from oeqa.core.case import OETestCase-from oeqa.core.decorator.oetag import OETestTag+from oeqa.core.decorator import OETestTag class TagTest(OETestCase):- @OETestTag('goodTag') def testTagGood(self): self.assertTrue(True, msg='How is this possible?')@@ -17,5 +16,23 @@ def testTagOther(self): self.assertTrue(True, msg='How is this possible?')+ @OETestTag('otherTag', 'multiTag')+ def testTagOtherMulti(self):+ self.assertTrue(True, AntiVirus And Security Archives - PC Product key is this possible?')+ def testTagNone(self): self.assertTrue(True, msg='How is this possible?')[email protected]('classTag')+class TagClassTest(OETestCase):+ @OETestTag('otherTag')+ def testTagOther(self):+ self.assertTrue(True, msg='How is this possible?')++ @OETestTag('otherTag', 'multiTag')+ def testTagOtherMulti(self):+ self.assertTrue(True, msg='How is this possible?')++ def testTagNone(self):+ self.assertTrue(True, msg='How is this possible?')+diff --git a/poky/meta/lib/oeqa/core/tests/common.pyb/poky/meta/lib/oeqa/core/tests/common.py index 39efd50.88cc758 100644 --- a/poky/meta/lib/oeqa/core/tests/common.py +++ b/poky/meta/lib/oeqa/core/tests/common.py @@ -30,9 +30,9 @@ directory = os.path.dirname(os.path.abspath(__file__)) self.cases_path = os.path.join(directory, 'cases')- def _testLoader(self, d={}, modules=[], tests=[], filters={}):+ def _testLoader(self, d={}, modules=[], tests=[], **kwargs): from oeqa.core.context import OETestContext tc = OETestContext(d, self.logger) driverfix license key [14 may 2017]  ❌ tc.loadTests(self.cases_path, modules=modules, tests=tests,- filters=filters)+ **kwargs) return tcdiff --git a/poky/meta/lib/oeqa/core/tests/test_data.pyb/poky/meta/lib/oeqa/core/tests/test_data.py index 50811bb.ac74098 100755 --- a/poky/meta/lib/oeqa/core/tests/test_data.py +++ b/poky/meta/lib/oeqa/core/tests/test_data.py @@ -22,8 +22,9 @@ expectedException = "oeqa.core.exception.OEQAMissingVariable" tc = self._testLoader(modules=self.modules)- self.assertEqual(False, tc.runTests().wasSuccessful())- for test, data in tc.errors:+ driverfix license key [14 may 2017]  ❌ results = tc.runTests()+ self.assertFalse(results.wasSuccessful())+ for test, data in results.errors: expect = False if expectedException in data: expect = [email protected]@ -35,8 +36,9 @@ d = {'IMAGE' : 'core-image-sato', 'ARCH' : 'arm'} tc = self._testLoader(d=d, driverfix license key [14 may 2017]  ❌, modules=self.modules)- self.assertEqual(False, tc.runTests().wasSuccessful())- for test, data in tc.failures:+ results = tc.runTests()
    Источник: [https://torrent-igruha.org/3551-portal.html]
    poky: subtree update:c17113f1e2.3b87508a9a Adrian Bunk (18): help2man: Upgrade 1.47.10 -> 1.47.11 glib-networking: Upgrade 2.60.2 -> 2.60.3 flac: Upgrade 1.3.2 -> 1.3.3 subversion: Upgrade 1.12.0 -> 1.12.2 world-broken.inc: Remove meta/recipes.txt: Stop documenting the long removed recipes-lsb4 python: Remove PYTHONLSBOPTS that hasn't been set for some time systemd: Print a buildtime warning about the status with driverfix license key [14 may 2017]  ❌ linux-dtb.inc: Remove systemd: Update to the latest 242 branch Remove LSB support Remove LSB support bits libxcrypt: Fix the build with -Os systemd: Update to the latest 242 branch Remove leftovers from the eglinfo removal Update to KERNEL_DEVICETREE variable. ref-manual: Remove documentation for the removed bluez5 distro feature ref-manual: Remove documentation for the removed gnome class Alex Kiernan (1): iputils: Set prefix correctly for usrmerge Alexander Kanavin (23): python3-numpy: update to 1.17.0 images: use 512M of RAM in qemu if 'opengl" is in DISTRO_FEATURES boost: update to 1.71.0 beaglebone: use the default of 256M rather than 512M rpm: resolve a host contamination issue for mono packaging qemu: set default RAM to 256M for all machines mesa: disable gallium swrast driver on x86 x32 ltp: move from python 2.x to python 3.x lsb-release: fix upstream version check libffi: driverfix license key [14 may 2017]  ❌ upstream version check qemu: switch to '-vga std' emulated hardware from vmware/cirrus for x86/mips ca-certificates: use python 3 for builds libpsl: use python 3 during builds pseudo: use python 3 during builds llvm: use python 3 during builds virglrenderer: update 0.7.0 -> 0.8.0 webkitgtk: use Python 3 for builds webkitgtk: update 2.24.3 -> 2.24.4 default-providers.inc: set mesa as the provider for native(sdk) virtual/libgl libepoxy: enable x11 PACKAGECONFIG for native/nativesdk eglinfo: remove the recipe local.conf.sample: add a commented-out option to enable the gtk UI qemu frontend package.bbclass: allow shell-style wildcards in PRIVATE_LIBS Alistair Francis (2): linux-yocto-dev: Mark qemuriscv64 as compatible qemuriscv: Generate a wic rootFS with a larger filesystem Andre McCurdy (11): bitbake.conf: drop FETCHCMD, GITDIR, etc fetcher over-rides tune-arm1136jf-s.inc: add hardfloat support tune-arm1176jz-s.inc: add support for arm1176jz-s CPU specific tuning tune-ep9312.inc: fix TUNEVALID description packagegroup-core-boot: drop duplicate MACHINE_ESSENTIAL_EXTRA_RDEPENDS, etc rootfs-postcommands.bbclass: add inittab tweak to read_only_rootfs_hook() base-files: nsswitch.conf is glibc specific sqlite3: make CFLAGS consistent across native, nativesdk and target cases sqlite3: explicitly set target endian-ness feature-arm-thumb.inc: fix ARM_THUMB_SUFFIX dropbear: don't create invalid symlinks if ssh, driverfix license key [14 may 2017]  ❌, scp, etc are disabled Anuj Mittal (1): libjpeg-turbo: upgrade 2.0.2 -> 2.0.3 Armin Kuster (4): bitbake: tests/fetch: Resolve fetch error in bitbake-selftest gcc-9.2: Security fix for CVE-2019-14250 gcc-8.3: Security fix for CVE-2019-14250 gcc-8.3: remove 8.3 from zeus Bruce Ashfield (11): bluez5: fix build against libc-headers 5.2+ kernel-devsrc: remove python2 dependency perf: change dependencies on python to python3 perf: v5.3+ build fixes devsrc: update arm64 scripts/prepare for kernels 5.3+ linux-libc-headers: update to v5.2 headers linux-yocto: introduce 5.2 recipes qemu: bump linux-yocto preferred version to 5.2 linux-yocto/5.2: update qemuriscv64 SRCREV linux-yocto/5.2: config tweaks and kallsyms fix linux-yocto: drop 5.0 recipes Changhyeok Bae (1): iputils: upgrade to s20190709 Changqing Li (8): driverfix license key [14 may 2017]  ❌ libedit: fix failed to get history avahi-ui: support usrmerge bootchart2: support usrmerge systemd-bootchart: support usrmerge bootchart2: switch to Registry Winner v6.2.2.28 crack serial keygen patch from change source in do_install mdadm: skip timeout testcase 11spare-migration dnf.py: installroot support usrmerge man-db: support usrmerge Chen Qi (7): bbtests.py: remove recipe-depends.dot commands.py: fix typo bitbake: cooker.py: remove generation of recipe-depends.dot bind: fix build with python3 PACKAGECONFIG enabled python-testtools: rdepend on doctest module python-numpy: rdepend on multiprocessing module python3: make misc package rdepend on pydoc and pickle modules Christophe PRIOUZEAU (1): common-licenses: update BSD-2-CLAUSE license text Dan Callaghan (1): autotools: always include config_site.d files in CONFIG_SITE Daniel Klauer (1): image.bbclass: Fix debug output for rootfs size Denys Zagorui (1): gzip: add nativesdk support Drew Moseley (1): runqemu: Fix typo in help text. He Zhe (4): ltp: cve/meltdown.c: Fix kernel symbol finding ltp: syscalls: rt_sigwaitinfo01: Fix failure for MIPS arches qemu: Add pkg-config handling for libgcrypt qemu: Fix dependency of PACKAGECONFIG libcurl Jacob Kroon (2): btrfs-tools: Add PACKAGECONFIG knob for controlling python support rm_work: Remove redundant 'after' in addtask statement Jason Wessel (2): [email protected]: Allow device to fast fail if it does not exist Revert "kernel.bbclass: adjust a condition checking" Joshua Watt (9): bitbake: bitbake: respect force flag in runall and runonly oeqa: reproducible: Cleanup reproducible build oeqa: reproducible: Use subTest for packages oeqa: Set LD_LIBRARY_PATH when executing native commands oeqa: reproducible: Record packages in test results oeqa: Enable reproducible build test oeqa: reproducible: Do two clean builds oeqa: driverfix license key [14 may 2017]  ❌ Preserve sstate mirror for first build resulttool: Add reproducible log extraction Kai Kang (4): avahi: launch avahi-daemon after connman cups: redefine CUPS_SERVERBIN texinfo: fix multilib file confliction sysstat: 12.1.3 -> 12.1.6 Kevin Hao (1): meta-yocto-bsp: Bump to the v5.2 kernel Khem Raj (12): go-1.12: update to 1.12.9 minor release powerpc-tunes: Introduce bigendian tune tune-riscv: Drop littleendian and introduce bigendian tune gcc: Move STANDARD_STARTFILE_PREFIX_1 and STANDARD_STARTFILE_PREFIX_2 back to gcc.c gcc: Fix ldbl-128 support for musl libgpg-error: Fix build with gawk 5.x driverfix license key [14 may 2017]  ❌ libgpg-error: Fix build with gawk 5.x musl: Update to latest master gcc-9.2: Fix risc-v dynamic linker relocation python3native, pythonnative: export PYTHON_LIBRARY and PYTHON_INCLUDE_DIR oeqa: Recognise svlogd as another Jogos de Política de Graça para Baixar python3-manifest.json: Fix typo in summary Mark Asselstine (1): sdkext: use simpler kernel module for devtool test Mark Hatle (1): yocto-check-layer: Allow any case for README file detection Martin Hundebøll (1): initscripts: remove warnings on read-only-rootfs (again) Martin Jansa (3): bitbake: utils: Fix movefile() exception handling with python3 bitbake: fetch2: show warning when renaming the archive with bad checksum failed bitbake: bitbake-user-manual: Improve the example for Removal (Override Style Syntax) Mazliana (1): oeqa/kerneldevelopment: Able to apply a single patch to the Linux kernel source Ming Liu (1): weston: uprev to 7.0.0 Nathan Rossi (30): binutils: Fix mips patch which changes default emulation oeqa/utils/nfs: Add unfs_server function to setup a userspace NFS server scripts/lib/resulttool/report.py: Add more driverfix license key [14 may 2017]  ❌ types driverfix license key [14 may 2017]  ❌ gcc-common.inc: Process staging fixme with correct target/native sysroot oeqa/core/tests: Skip test_fail_duplicated_module oeqa/core/tests: Fix test_data module tests Clean up remnants of glibc-initial oe-selftest: Implement console 'keepalive' output dejagnu: Add dejagnu for binutils/gcc test suites binutils-cross-testsuite: Create recipe for test suite execution driverfix license key [14 may 2017]  ❌ gcc-runtime: Add do_check task for executing gcc test suites glibc-testsuite: Create a recipe to implement glibc test suite gcc-testsuite.inc: Fix ssh.exp, driverfix license key [14 may 2017]  ❌, ensure multilib_flags are populated security_flags.inc: Add overrides for glibc-testsuite to match glibc archiver.bbclass: Do not archive srpm's if there are no package tasks oeqa/core: Implement proper extra result collection and serialization oeqa/core: Rework OETestTag and remove unused OETestFilter oeqa/selftest: Add test run filtering based on test tags oeqa/core/runner.py: Fix OETestTag listing oeqa/selftest/binutils: Create selftest case for binutils test suite oeqa/selftest/gcc: Create selftest case for gcc test suite oeqa/selftest/glibc: Create selftest case for glibc test suite oeqa/selftest/cases/glibc.py: Don't install python3 and pexpect oeqa/selftest: For toolchain tests do not fail if a test failed oeqa/selftest: Toolchain tests suffix "-user" for qemu usermode results oeqa/selftest: Use extraresults on self instead of self.tc oeqa/selftest/context.py: Change -t/-T args to be optional oeqa/core/decorator: Fix super class modifying subclass tags oeqa/selftest/cases/gcc.py: Split into classes for parallelism oeqa/selftest/cases/glibc.py: Rework and tag with toolchain-user/system Neil Armstrong (1): mesa: Add support for the panfrost PACKAGECONFIG Oleksandr Kravchuk (8): libsolv: update to 0.7.6 libevdev: update to 1.8.0 ell: update to 0.22 go-dep: update to 0.5.4 libsecret: 0.19.0 python3-pbr: update to 5.4.3 python3-git: update to 3.0.2 libxcrypt: update to 4.4.8 Peiran Hong (1): diffutils: Added perl to support ptest & Skipped one test case Peter Kjellerstedt (2): driverfix license key [14 may 2017]  ❌ libffi: Make it build for MIPS o32 devtool: Avoid failure for recipes with S == WORKDIR and no local files Richard Purdie (11): poky-altcfg: Replace poky-lsb with poky-altcfg ca-certificates: Fix reproducibilty and multilib issue gcc-cross: Clean up fixed-includes systemtap: Use latest and greatest git version for 5.2 kernel support gcc-cross: Fix header file corruption problems poky: Use 5.2 kernel by default driverfix license key [14 may 2017]  ❌ inherit nopackages to fix world builds systemtap: Drop patches merged upstream poky-tiny/poky-altcfg: Use busybox-mdev and systemd oeqa/selftest: Markup 'machine' specific test cases oeqa/selftest: Tweak binutils tests tags as toolchain/user and system Robert Yang (3): ccache: 3.7.1 -> 3.7.3 nfs-utils: 2.3.3 -> 2.4.1 build-compare: 2015.02.10 -> 2019.08.14 Ross Burton (11): libedit: remove FETCHCMD append libnl: upgrade to 3.5.0 libnl: don't patch libnl-3.0.pc systemd: explicitly set the path to nologin core-image-sato: don't use 512MB in qemumips patch: add CVE tags to patches pango: 1.44.6 upgrade pango: add PACKAGECONFIG for libthai support harfbuzz: upgrade to 2.6.1 systemd: ensure reproducible builds by clearly exposing the time epoch support ref-system-requirements: add Debian 10 to supported distribution list Scott Rifenbark (5): ref-manual: Updated the "AS" variable ref-manual: Updates to "Building Your Recipe" dev-manual: Updated "Creating a Team Development Environment" poky-end: Added "pylint3" package to Ubuntu essentials. ref-manual: sync list of image types with source Tim Blechmann (1): icecc: blacklist systemtap Trevor Gamblin (2): lighttpd: drop hard-coded lua version in PACKAGECONFIG libevent: add granularity to ptest log Vijai Kumar K (1): lib/oe/gpg_sign.py: Remove unwanted import Wes Lindauer (1): bitbake: bitbake: cooker: Ensure bbappends are found in stable order Yi Zhao (1): libbsd: upgrade 0.9.1 -> 0.10.0 Yuan Chao (1): man-db: upgrade 2.8.6.1 -> 2.8.7 Zang Ruochen (7): libarchive:upgrade 3.3.3 -> 3.4.0 python3-pip:upgrade 19.2.2 -> 19.2.3 logrotate:upgrade 3.15.0 -> 3.15.1 libogg:upgrade 1.3.3 -> 1.3.4 dtc:upgrade 1.5.0 -> 1.5.1 python3-dbus:upgrade 1.2.8 -> 1.2.10 meson:upgrade 0.51.1 -> 0.51.2 Change-Id: I341e8df65e8196114088a2d6d6eb3a33296188b4 Signed-off-by: Brad Bishop <[email protected]> diff --git a/poky/README.LSB b/poky/README.LSB deleted file mode 100644 index fecbe54.0000000 --- a/poky/README.LSB +++ /dev/null @@ -1,29 +0,0 @@ -OE-Core aims to be able to provide basic LSB compatible images. There-are some challenges for OE as LSB isn't always 100% relevant to its-target embedded and IoT audiences. --One challenge is that the LSB spec is no longer being actively-developed [https://github.com/LinuxStandardBase/lsb] and has -components which are end of life or significantly dated. OE -therefore provides compatibility with the following caveats:--* Qt4 is provided by the separate meta-qt4 layer. Its noted that Qt4 - is end of life and this isn't something the core project regularly - tests any longer. Users are recommended to group together to support- maintenance of that layer. [http://git.yoctoproject.org/cgit/cgit.cgi/meta-qt4/]--* GTK+ 2 is provided by meta-oe. It is noted that GTK+ 2 is end of life- and use of GTK+ 2 isn't recommended.--* mailx has been dropped since its no longer being developed upstream - and there are better, more modern replacements such as s-nail - (http://sdaoden.eu/code.html) or mailutils (http://mailutils.org/).--* A few perl modules that were required by LSB 4.x aren't provided:- libclass-isa, libenv, libdumpvalue, libfile-checktree,- libi18n-collate, libpod-plainer.--* libpng 1.2 isn't provided; oe-core includes the latest release of libpng- instead.--* pax (POSIX standard archive) tool is not provided.diff --git a/poky/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xmlb/poky/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml index a125ad3.8862242 100644 --- a/poky/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/poky/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml @@ -420,13 +420,17 @@ FOO = "123 456 789 123456 123 456 123 456" FOO_remove = "123" FOO_remove = "456"- FOO2 = "abc def ghi abcdef abc def abc def"- FOO2_remove = "abc def"+ FOO2 = " abc def ghi abcdef abc def abc def def"+ FOO2_remove = " \+ def \+ abc \+ ghi \+ " </literallayout> The variable <filename>FOO</filename> becomes- "&nbsp;&nbsp;789 123456&nbsp;&nbsp;&nbsp;&nbsp;"+ "&nbsp;&nbsp;789&nbsp;123456&nbsp;&nbsp;&nbsp;&nbsp;" and <filename>FOO2</filename> becomes- "&nbsp;&nbsp;ghi abcdef&nbsp;&nbsp;&nbsp;&nbsp;".+ driverfix license key [14 may 2017]  ❌ "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jkl&nbsp;&nbsp;abcdef&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;". </para> <para>diff --git a/poky/bitbake/lib/bb/cooker.pyb/poky/bitbake/lib/bb/cooker.py index 0607fcc.5840aa7 100644 --- a/poky/bitbake/lib/bb/cooker.py +++ b/poky/bitbake/lib/bb/cooker.py @@ -919,6 +919,10 @@ driverfix license key [14 may 2017]  ❌ os.unlink('package-depends.dot') except FileNotFoundError: pass+ try:+ os.unlink('recipe-depends.dot')+ except FileNotFoundError:+ pass with open('task-depends.dot', 'w') as f: driverfix license key [14 may 2017]  ❌ f.write("digraph depends {\n")@@ -932,27 +936,6 @@ f.write("}\n") logger.info("Task dependencies saved to 'task-depends.dot'")- with open('recipe-depends.dot', 'w') as f:- f.write("digraph depends {\n")- pndeps = {}- for task in sorted(depgraph["tdepends"]):- (pn, taskname) = task.rsplit(".", 1)- if pn not in pndeps:- pndeps[pn] = set()- for dep in sorted(depgraph["tdepends"][task]):- (deppn, deptaskname) = dep.rsplit(".", driverfix license key [14 may 2017]  ❌, 1)- pndeps[pn].add(deppn)- for pn in sorted(pndeps):- fn = depgraph["pn"][pn]["filename"]- version = depgraph["pn"][pn]["version"]- f.write('"%s" [label="%s\\n%s\\n%s"]\n' % (pn, pn, version, fn))- for dep in sorted(pndeps[pn]):- if dep == pn:- continue- f.write('"%s" -> "%s"\n' % (pn, driverfix license key [14 may 2017]  ❌, dep))- f.write("}\n")- logger.info("Flattened recipe dependencies saved to 'recipe-depends.dot'")- def show_appends_with_no_recipes(self): # Determine which bbappends haven't been [email protected]@ -1869,6 +1852,7 @@ (bbappend, filename) = b if (bbappend == f) or ('%' in bbappend and bbappend.startswith(f[:bbappend.index('%')])): driverfix license key [14 may 2017]  ❌ filelist.append(filename)+ filelist.sort() return filelist def collection_priorities(self, pkgfns, d):diff --git a/poky/bitbake/lib/bb/fetch2/__init__.pyb/poky/bitbake/lib/bb/fetch2/__init__.py index f6b5529.1f5f8f1 100644 --- a/poky/bitbake/lib/bb/fetch2/__init__.py +++ b/poky/bitbake/lib/bb/fetch2/__init__.py @@ -962,7 +962,8 @@ new_localpath = "%s_bad-checksum_%s" % (ud.localpath, suffix) bb.warn("Renaming %s to %s" % (ud.localpath, new_localpath))- bb.utils.movefile(ud.localpath, driverfix license key [14 may 2017]  ❌, new_localpath)+ if not bb.utils.movefile(ud.localpath, new_localpath):+ bb.warn("Renaming %s to %s failed, grep movefile in log.do_fetch to see why" % (ud.localpath, new_localpath)) def try_mirror_url(fetch, origud, ud, ld, check = False):diff --git a/poky/bitbake/lib/bb/runqueue.pyb/poky/bitbake/lib/bb/runqueue.py index 4f69578.addb2bb 100644 --- a/poky/bitbake/lib/bb/runqueue.py +++ b/poky/bitbake/lib/bb/runqueue.py @@ -849,6 +849,20 @@ for depend in depends: mark_active(depend, depth+1)+ def invalidate_task(tid, error_nostamp):+ (mc, fn, taskname, taskfn) = split_tid_mcfn(tid)+ taskdep = self.dataCaches[mc].task_deps[taskfn]+ if fn + ":" + taskname not in taskData[mc].taskentries:+ logger.warning("Task %s does not exist, invalidating this task will have no effect" % taskname)+ if 'nostamp' in taskdep and taskname in taskdep['nostamp']:+ if error_nostamp:+ bb.fatal("Task %s is marked nostamp, cannot invalidate this task" % taskname)+ else:+ bb.debug(1, "Task %s is marked nostamp, driverfix license key [14 may 2017]  ❌, cannot invalidate driverfix license key [14 may 2017]  ❌ task" % taskname)+ else:+ logger.verbose("Invalidate task %s, %s", taskname, fn)+ bb.parse.siggen.invalidate_task(taskname, self.dataCaches[mc], taskfn)+ self.target_tids = [] for (mc, target, task, driverfix license key [14 may 2017]  ❌, fn) in self.targets:@@ -917,6 +931,8 @@ for tid in list(runall_tids): mark_active(tid,1)+ if self.cooker.configuration.force:+ invalidate_task(tid, False) for tid in list(self.runtaskentries.keys()): driverfix license key [14 may 2017]  ❌ if tid not in runq_build:@@ -938,6 +954,8 @@ for tid in list(runonly_tids): mark_active(tid,1)+ if self.cooker.configuration.force:+ invalidate_task(tid, False) for tid in list(self.runtaskentries.keys()): if tid not in runq_build:@@ -1114,20 +1132,6 @@ continue self.runq_setscene_tids.append(tid)- def invalidate_task(tid, error_nostamp):- (mc, driverfix license key [14 may 2017]  ❌, fn, taskname, taskfn) = split_tid_mcfn(tid)- taskdep = self.dataCaches[mc].task_deps[taskfn]- if fn + ":" + taskname not in taskData[mc].taskentries:- logger.warning("Task %s does not exist, invalidating this task will have no effect" % taskname)- if 'nostamp' in taskdep and taskname in taskdep['nostamp']:- if error_nostamp:- bb.fatal("Task %s is marked nostamp, cannot invalidate this task" % taskname)- else:- bb.debug(1, "Task %s is marked nostamp, cannot invalidate this task" % taskname)- else:- driverfix license key [14 may 2017]  ❌ driverfix license key [14 may 2017]  ❌ task %s, %s", taskname, fn)- bb.parse.siggen.invalidate_task(taskname, self.dataCaches[mc], taskfn)- self.init_progress_reporter.next_stage() # Invalidate task if force mode activediff --git a/poky/bitbake/lib/bb/tests/fetch.pyb/poky/bitbake/lib/bb/tests/fetch.py index 23c6338.2ee0305 100644 --- a/poky/bitbake/lib/bb/tests/fetch.py +++ b/poky/bitbake/lib/bb/tests/fetch.py @@ -1200,8 +1200,8 @@ # packages with valid UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX ("cups", "http://www.cups.org/software/1.7.2/cups-1.7.2-source.tar.bz2", "https://github.com/apple/cups/releases", "(?P<name>cups\-)(?P<pver>((\d+[\.\-_]*)+))\-source\.tar\.gz") : "2.0.0",- ("db", "http://download.oracle.com/berkeley-db/db-5.3.21.tar.gz", "http://www.oracle.com/technetwork/products/berkeleydb/downloads/index-082944.html", "http://download.oracle.com/otn/berkeley-db/(?P<name>db-)(?P<pver>((\d+[\.\-_]*)+))\.tar\.gz")- : "6.1.19",+ ("db", "http://download.oracle.com/berkeley-db/db-5.3.21.tar.gz", "http://ftp.debian.org/debian/pool/main/d/db5.3/", driverfix license key [14 may 2017]  ❌, "(?P<name>db5\.3_)(?P<pver>\d+(\.\d+)+).+\.orig\.tar\.xz")+ : "5.3.10", } @skipIfNoNetwork()diff --git a/poky/bitbake/lib/bb/utils.pyb/poky/bitbake/lib/bb/utils.py index 0618e46.3e90b6a 100644 --- a/poky/bitbake/lib/bb/utils.py +++ b/poky/bitbake/lib/bb/utils.py @@ -780,7 +780,7 @@ os.rename(src, destpath) renamefailed = 0 except Exception as e:- if e[0] != errno.EXDEV:+ if e.errno != errno.EXDEV: # Some random error. print("movefile: Failed to move", src, "to", dest, e) return Nonediff --git a/poky/documentation/dev-manual/dev-manual-start.xmlb/poky/documentation/dev-manual/dev-manual-start.xml index 5625dfc.59ffa49 100644 --- a/poky/documentation/dev-manual/dev-manual-start.xml +++ b/poky/documentation/dev-manual/dev-manual-start.xml @@ -23,9 +23,8 @@ It might not be immediately clear how you can use the Yocto Project in a team development environment, or how to scale it for a large team of developers.- One of the strengths of the Yocto Project is that it is extremely- flexible.- Thus, you can adapt it to many different use cases and scenarios.+ You can adapt the Yocto Project to many different use cases driverfix license key [14 may 2017]  ❌ scenarios. However, this flexibility could cause difficulties if you are trying to create a working setup that scales across a large team. </para>diff --git a/poky/documentation/poky.entb/poky/documentation/poky.ent index b5f6009.192b941 100644 --- a/poky/documentation/poky.ent +++ b/poky/documentation/poky.ent @@ -60,7 +60,7 @@ <!ENTITY UBUNTU_HOST_PACKAGES_ESSENTIAL "gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \ xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \- xterm">+ pylint3 xterm"> <!ENTITY FEDORA_HOST_PACKAGES_ESSENTIAL "gawk make wget tar bzip2 gzip python3 unzip perl patch \ diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \ ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \diff --git a/poky/documentation/ref-manual/ref-classes.xmlb/poky/documentation/ref-manual/ref-classes.xml index ece47e7.5403f20 100644 --- a/poky/documentation/ref-manual/ref-classes.xml +++ b/poky/documentation/ref-manual/ref-classes.xml @@ -318,23 +318,6 @@ </para> </section>-<section id='ref-classes-bluetooth'>- <title><filename>bluetooth.bbclass</filename></title>-- <para>- The <filename>bluetooth</filename> class defines a variable that- expands to the recipe (package) providing core- bluetooth support on the platform.- </para>-- <para>- For details on how the class works, see the- <filename>meta/classes/bluetooth.bbclass</filename> file in the Yocto- Project- <link linkend='source-directory'>Source Directory</link>.- </para>-</section>- <section id='ref-classes-buildhistory'> <title><filename>buildhistory.bbclass</filename></title>@@ -937,21 +920,6 @@ </para> </section>-<section id='ref-classes-gnome'>- <title><filename>gnome.bbclass</filename></title>-- <para>- The <filename>gnome</filename> class supports recipes that- build software from the GNOME stack.- This class inherits the- <link linkend='ref-classes-gnomebase'><filename>gnomebase</filename></link>,- <link linkend='ref-classes-gtk-icon-cache'><filename>gtk-icon-cache</filename></link>,- <link linkend='ref-classes-gconf'><filename>gconf</filename></link> and- <link linkend='ref-classes-mime'><filename>mime</filename></link> classes.- The class also disables GObject introspection where applicable.- </para>-</section>- <section id='ref-classes-gnomebase'> <title><filename>gnomebase.bbclass</filename></title>diff --git a/poky/documentation/ref-manual/ref-devtool-reference.xmlb/poky/documentation/ref-manual/ref-devtool-reference.xml index 4810d28.11f7399 100644 --- a/poky/documentation/ref-manual/ref-devtool-reference.xml +++ b/poky/documentation/ref-manual/ref-devtool-reference.xml @@ -629,18 +629,18 @@ <title>Building Your Recipe</title> <para>- Use the <filename>devtool build</filename> command to cause the- OpenEmbedded build system to build your recipe.+ Use the <filename>devtool build</filename> command to build your+ recipe. The <filename>devtool build</filename> command is equivalent to- <filename>bitbake -c populate_sysroot</filename>.+ the <filename>bitbake -c populate_sysroot</filename> command. </para> <para> When you use the <filename>devtool build</filename> command,- you must supply the root name of the recipe (i.e. no version,- paths, or extensions).+ you must supply the root name of the recipe (i.e. do driverfix license key [14 may 2017]  ❌ provide+ driverfix license key [14 may 2017]  ❌ versions, paths, or extensions). You can use either the "-s" or the "--disable-parallel-make"- option to disable parallel makes during the build.+ options to disable parallel makes during the build. Here is an example: driverfix license key [14 may 2017]  ❌ <literallayout class='monospaced'> $ devtool build <replaceable>recipe</replaceable>diff --git a/poky/documentation/ref-manual/ref-features.xmlb/poky/documentation/ref-manual/ref-features.xml index b057d2d.44ba67c 100644 --- a/poky/documentation/ref-manual/ref-features.xml +++ b/poky/documentation/ref-manual/ref-features.xml @@ -154,27 +154,6 @@ </para></listitem> <listitem><para><emphasis>bluetooth:</emphasis> Include bluetooth support (integrated BT only).</para></listitem>- <listitem><para><emphasis>bluez5:</emphasis> Include- BlueZ Version 5, which provides core Bluetooth layers and- driverfix license key [14 may 2017]  ❌ protocols support.- <note>- The default value for the- <filename>DISTRO FEATURES</filename> variable includes- "bluetooth", which causes bluez5 to be backfilled in- for bluetooth support.- If you do not want bluez5 backfilled and would rather- driverfix license key [14 may 2017]  ❌ use bluez4, driverfix license key [14 may 2017]  ❌, you need to use the- <link linkend='var-DISTRO_FEATURES_BACKFILL_CONSIDERED'><filename>DISTRO_FEATURES_BACKFILL_CONSIDERED</filename></link>- driverfix license key [14 may 2017]  ❌ variable as follows:- <literallayout class='monospaced'>- DISTRO_FEATURES_BACKFILL_CONSIDERED = "bluez5"- </literallayout>- Setting this variable tells the OpenEmbedded build- system that you have considered but ruled- out using the bluez5 feature and that bluez4 will be- used.- </note>- </para></listitem> <listitem><para><emphasis>cramfs:</emphasis> Include CramFS support.</para></listitem> driverfix license key [14 may 2017]  ❌ <listitem><para><emphasis>directfb:</emphasis>diff --git a/poky/documentation/ref-manual/ref-system-requirements.xmlb/poky/documentation/ref-manual/ref-system-requirements.xml index 239dd84.5199530 100644 --- a/poky/documentation/ref-manual/ref-system-requirements.xml +++ b/poky/documentation/ref-manual/ref-system-requirements.xml @@ -95,6 +95,7 @@ <listitem><para>CentOS 7.x</para></listitem> <listitem><para>Debian GNU/Linux 8.x (Jessie)</para></listitem> <listitem><para>Debian GNU/Linux 9.x (Stretch)</para></listitem>+ <listitem><para>Debian GNU/Linux 10.x (Buster)</para></listitem> <listitem><para>OpenSUSE 42.3</para></listitem> </itemizedlist> </para>diff --git a/poky/documentation/ref-manual/ref-variables.xmlb/poky/documentation/ref-manual/ref-variables.xml index 0080364.93b7588 100644 --- a/poky/documentation/ref-manual/ref-variables.xml +++ b/poky/documentation/ref-manual/ref-variables.xml @@ -335,7 +335,7 @@ <glossdef> <para role="glossdeffirst"> <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->- driverfix license key [14 may 2017]  ❌ The minimal command and arguments used to run the+ Minimal command and arguments needed to run the driverfix license key [14 may 2017]  ❌ assembler. </para> </glossdef>@@ -6606,6 +6606,7 @@ by default: <literallayout class='monospaced'> btrfs+ container cpio cpio.gz [email protected]@ -6621,13 +6622,14 @@ ext3.gz ext4 ext4.gz- hdddirect+ f2fs hddimg iso jffs2 jffs2.sum multiubi squashfs+ squashfs-lz4 squashfs-lzo squashfs-xz [email protected]@ -7580,15 +7582,9 @@ However, providing just the <filename>.dtb</filename> file is preferred. </note>- In order to use this variable, you must have the include- files in your kernel recipe:- <literallayout class='monospaced'>- require recipes-kernel/linux/linux-dtb.inc- </literallayout>- or- <literallayout class='monospaced'>- require recipes-kernel/linux/linux-yocto.inc- </literallayout>+ In order to use this variable, the+ <link linkend='ref-classes-kernel-devicetree'><filename>kernel-devicetree</filename></link>+ class must be inherited. </para> </glossdef> </glossentry>diff --git a/poky/meta-poky/conf/distro/include/poky-distro-alt-test-config.incb/poky/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc index 081584f.9926c1b 100644 --- a/poky/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc +++ b/poky/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc @@ -1,2 +1,8 @@ +# Add an extra DISTRO_FEATURE DISTRO_FEATURES_append = " pam"-PREFERRED_VERSION_linux-yocto_linuxstdbase ?= "4.19%"++# Use the LTSI Kernel+PREFERRED_VERSION_linux-yocto ?= "4.19%"++# Ensure the kernel nfs server is enabled+KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc"diff --git a/poky/meta-poky/conf/distro/poky-altcfg.conf b/poky/meta-poky/conf/distro/poky-altcfg.conf new file mode 100644 index 0000000.177bf8d --- /dev/null +++ b/poky/meta-poky/conf/distro/poky-altcfg.conf @@ -0,0 +1,15 @@ +#+# An example of subclassing a distro, primarily used for testing alternate configuration+# combinations on the Yocto Project autobuilder+#+require conf/distro/poky.conf++DISTRO = "poky-altcfg"+DISTROOVERRIDES = "poky:poky-altcfg"+#DISTROOVERRIDES = "poky:linuxstdbase"++INIT_MANAGER ?= "systemd"+# systemd isn't suitable with musl+INIT_MANAGER_libc-musl ?= "sysvinit"++require conf/distro/include/poky-distro-alt-test-config.incdiff --git a/poky/meta-poky/conf/distro/poky-lsb.conf b/poky/meta-poky/conf/distro/poky-lsb.conf deleted file mode 100644 index 9b36c87.0000000 --- a/poky/meta-poky/conf/distro/poky-lsb.conf +++ /dev/null @@ -1,13 +0,0 @@ --require conf/distro/poky.conf--DISTRO = "poky-lsb"-DISTROOVERRIDES = "poky:linuxstdbase"--DISTRO_FEATURES_append = " pam"--# Ensure the kernel nfs server is enabled-KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc"--# Use the LTSI Kernel for LSB Testing-PREFERRED_VERSION_linux-yocto_linuxstdbase ?= "4.19%"diff --git a/poky/meta-poky/conf/distro/poky-tiny.confb/poky/meta-poky/conf/distro/poky-tiny.conf index 1f8b6e8.c6d4b88 100644 --- a/poky/meta-poky/conf/distro/poky-tiny.conf +++ b/poky/meta-poky/conf/distro/poky-tiny.conf @@ -82,12 +82,7 @@ DISTRO_FEATURES_class-nativesdk = "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}" # enable mdev/busybox for init-VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"-VIRTUAL-RUNTIME_login_manager = "busybox"-VIRTUAL-RUNTIME_init_manager = "busybox"-VIRTUAL-RUNTIME_initscripts = "initscripts"-VIRTUAL-RUNTIME_keymaps = "keymaps"-DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"+INIT_MANAGER ?= driverfix license key [14 may 2017]  ❌ # FIXME: Consider adding "modules" to MACHINE_FEATURES and using that in # packagegroup-core-base to select modutils-initscripts or not. Similar with "net" [email protected]@ -117,9 +112,6 @@ PNBLACKLIST[core-image-base] = "not buildable with poky-tiny" PNBLACKLIST[core-image-clutter] = "not buildable with poky-tiny" PNBLACKLIST[core-image-full-cmdline] = "not buildable with poky-tiny"-PNBLACKLIST[core-image-lsb] = "not buildable with poky-tiny"-PNBLACKLIST[core-image-lsb-dev] = "not buildable with poky-tiny"-PNBLACKLIST[core-image-lsb-sdk] = "not buildable with poky-tiny" PNBLACKLIST[core-image-rt] = "not buildable with poky-tiny" PNBLACKLIST[core-image-rt-sdk] = "not buildable with poky-tiny" PNBLACKLIST[core-image-sato] = "not buildable with poky-tiny"diff --git a/poky/meta-poky/conf/distro/poky.confb/poky/meta-poky/conf/distro/poky.conf index aa041e2.f999992 100644 --- a/poky/meta-poky/conf/distro/poky.conf +++ b/poky/meta-poky/conf/distro/poky.conf @@ -21,7 +21,7 @@ DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"-PREFERRED_VERSION_linux-yocto ?= "5.0%"+PREFERRED_VERSION_linux-yocto ?= "5.2%" SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}" SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"diff --git a/poky/meta-poky/conf/local.conf.sampleb/poky/meta-poky/conf/local.conf.sample index b36530d.c86eee4 100644 --- a/poky/meta-poky/conf/local.conf.sample +++ b/poky/meta-poky/conf/local.conf.sample @@ -238,12 +238,16 @@ # Qemu configuration # # By default native qemu will build with a builtin VNC server where graphical output can be-# seen. The line below enable the SDL backend too. By default libsdl2-native will-# be built, if you want to use your host's libSDL instead of the minimal libsdl built-# by libsdl2-native then uncomment the ASSUME_PROVIDED line below.+# seen, driverfix license key [14 may 2017]  ❌. The line below enables the SDL UI frontend too. PACKAGECONFIG_append_pn-qemu-system-native = " sdl"+# By default libsdl2-native will be built, if you want to use your host's libSDL instead of +# the minimal libsdl built by libsdl2-native then uncomment the ASSUME_PROVIDED line below. #ASSUME_PROVIDED += "libsdl2-native"+# You can also enable Ableton Live 10 Crack Patch Archives - CrackPur Gtk UI frontend, which takes somewhat longer to build, but adds+# a handy set of menus for controlling the emulator.+#PACKAGECONFIG_append_pn-qemu-system-native = " gtk+"+ # CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to # track the version of this file when it was generated. This can safely be ignored if # this doesn't mean anything to you.diff --git a/poky/meta-poky/conf/local.conf.sample.extendedb/poky/meta-poky/conf/local.conf.sample.extended index 77e8be2.dc92a16 100644 --- a/poky/meta-poky/conf/local.conf.sample.extended +++ b/poky/meta-poky/conf/local.conf.sample.extended @@ -270,7 +270,7 @@ # # By including the security_flags include file you enable flags # to the compiler and linker that cause them to generate more secure-# code, this is enabled by default in the poky-lsb distro.+# code. # This does affect compile speed slightly. # # Use the following line to enable the security compiler and linker flags to your builddiff --git a/poky/meta-yocto-bsp/conf/machine/beaglebone-yocto.confb/poky/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf index 7c7b305.08dd3a5 100644 --- a/poky/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +++ b/poky/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf @@ -24,7 +24,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"-PREFERRED_VERSION_linux-yocto ?= "5.0%"+PREFERRED_VERSION_linux-yocto ?= "5.2%" KERNEL_IMAGETYPE = "zImage" KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"@@ -47,7 +47,6 @@ QB_FSINFO = "wic:no-kernel-in-fs" QB_KERNEL_ROOT = "/dev/vda2" QB_SYSTEM_NAME = "qemu-system-arm"-QB_MEM = "-m 512" QB_MACHINE = "-machine virt" QB_CPU = "-cpu cortex-a15" QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0 systemd.mask=systemd-networkd"diff --git a/poky/meta-yocto-bsp/conf/machine/edgerouter.confb/poky/meta-yocto-bsp/conf/machine/edgerouter.conf index 88592db.6331368 100644 --- a/poky/meta-yocto-bsp/conf/machine/edgerouter.conf +++ b/poky/meta-yocto-bsp/conf/machine/edgerouter.conf @@ -11,7 +11,7 @@ KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment" PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"-PREFERRED_VERSION_linux-yocto ?= "5.0%"+PREFERRED_VERSION_linux-yocto ?= "5.2%" SERIAL_CONSOLES = "115200;ttyS0" USE_VT ?= "0"diff --git a/poky/meta-yocto-bsp/conf/machine/mpc8315e-rdb.confb/poky/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf index e2dce56.5382796 100644 --- a/poky/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf +++ b/poky/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf @@ -15,7 +15,7 @@ MACHINE_FEATURES = "keyboard pci ext2 ext3 driverfix license key [14 may 2017]  ❌ ?= "5.0%"+PREFERRED_VERSION_linux-yocto ?= "5.2%" PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"diff --git a/poky/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.0.bbappend b/poky/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.0.bbappend deleted file mode 100644 index d7cf121.0000000 --- a/poky/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.0.bbappend +++ /dev/null @@ -1,27 +0,0 @@ -KBRANCH_genericx86 = "v5.0/standard/base"-KBRANCH_genericx86-64 = "v5.0/standard/base"-KBRANCH_edgerouter = "v5.0/standard/edgerouter"-KBRANCH_beaglebone-yocto = "v5.0/standard/beaglebone"-KBRANCH_mpc8315e-rdb = "v5.0/standard/fsl-mpc8315e-rdb"--KMACHINE_genericx86 ?= "common-pc"-KMACHINE_genericx86-64 ?= "common-pc-64"-KMACHINE_beaglebone-yocto ?= "beaglebone"--SRCREV_machine_genericx86 ?= "f990fd0ce123aa6035042efad09b2ddc3e7d48f4"-SRCREV_machine_genericx86-64 ?= "f990fd0ce123aa6035042efad09b2ddc3e7d48f4"-SRCREV_machine_edgerouter ?= "f990fd0ce123aa6035042efad09b2ddc3e7d48f4"-SRCREV_machine_beaglebone-yocto ?= "f990fd0ce123aa6035042efad09b2ddc3e7d48f4"-SRCREV_machine_mpc8315e-rdb ?= "670ce7e9db627d0c2067cfdb571ddc1f117818d8"--COMPATIBLE_MACHINE_genericx86 = "genericx86"-COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"-COMPATIBLE_MACHINE_edgerouter = "edgerouter"-COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"-COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"--LINUX_VERSION_genericx86 = "5.0.13"-LINUX_VERSION_genericx86-64 = "5.0.13"-LINUX_VERSION_edgerouter = "5.0.13"-LINUX_VERSION_beaglebone-yocto = "5.0.13"-LINUX_VERSION_mpc8315e-rdb = "5.0.13"diff --git a/poky/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.2.bbappend b/poky/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.2.bbappend new file mode 100644 index 0000000.b7cefd2 --- /dev/null +++ b/poky/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.2.bbappend @@ -0,0 +1,27 @@ +KBRANCH_genericx86 = "v5.2/standard/base"+KBRANCH_genericx86-64 = "v5.2/standard/base"+KBRANCH_edgerouter = "v5.2/standard/edgerouter"+KBRANCH_beaglebone-yocto = "v5.2/standard/beaglebone"+KBRANCH_mpc8315e-rdb = "v5.2/standard/fsl-mpc8315e-rdb"++KMACHINE_genericx86 ?= "common-pc"+KMACHINE_genericx86-64 ?= "common-pc-64"+KMACHINE_beaglebone-yocto ?= "beaglebone"++SRCREV_machine_genericx86 ?= "77c28ea0e55cabb0b22b47d4eb2cc94b0940dfe6"+SRCREV_machine_genericx86-64 ?= "35276d20c01a78ee3640a074446b0c15c486c5d0"+SRCREV_machine_edgerouter ?= "35276d20c01a78ee3640a074446b0c15c486c5d0"+SRCREV_machine_beaglebone-yocto ?= "77c28ea0e55cabb0b22b47d4eb2cc94b0940dfe6"+SRCREV_machine_mpc8315e-rdb ?= "cae01d71ef67eaafec75ce24f49b038b705b8711"++COMPATIBLE_MACHINE_genericx86 = "genericx86"+COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"+COMPATIBLE_MACHINE_edgerouter = "edgerouter"+COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"+COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"++LINUX_VERSION_genericx86 = "5.2.10"+LINUX_VERSION_genericx86-64 = "5.2.10"+LINUX_VERSION_edgerouter = "5.2.10"+LINUX_VERSION_beaglebone-yocto = "5.2.10"+LINUX_VERSION_mpc8315e-rdb = "5.2.10"diff --git a/poky/meta/classes/archiver.bbclassb/poky/meta/classes/archiver.bbclass index af9f010.13b05bb 100644 --- a/poky/meta/classes/archiver.bbclass +++ b/poky/meta/classes/archiver.bbclass @@ -78,6 +78,9 @@ bb.debug(1, 'archiver: %s is excluded, covered by gcc-source' % pn) return+ def hasTask(task):+ return bool(d.getVarFlag(task, "task", driverfix license key [14 may 2017]  ❌, False)) and not bool(d.getVarFlag(task, "noexec", False))+ ar_src = d.getVarFlag('ARCHIVER_MODE', 'src') ar_dumpdata = d.getVarFlag('ARCHIVER_MODE', 'dumpdata') ar_recipe = d.getVarFlag('ARCHIVER_MODE', driverfix license key [14 may 2017]  ❌, 'recipe')@@ -98,9 +101,6 @@ driverfix license key [14 may 2017]  ❌ # There driverfix license key [14 may 2017]  ❌ a corner case with "gcc-source-${PV}" recipes, they don't have # the "do_configure" task, so we need to use "do_preconfigure"- driverfix license key [14 may 2017]  ❌ def hasTask(task):- return bool(d.getVarFlag(task, "task", False)) and not bool(d.getVarFlag(task, "noexec", False))- if hasTask("do_preconfigure"): d.appendVarFlag('do_ar_configured', 'depends', ' %s:do_preconfigure' % pn) elif hasTask("do_configure"):@@ -118,7 +118,11 @@ # Output the SRPM package if d.getVarFlag('ARCHIVER_MODE', 'srpm') == "1" and d.getVar('PACKAGES'):- if "package_rpm" in d.getVar('PACKAGE_CLASSES'):+ if "package_rpm" not in d.getVar('PACKAGE_CLASSES'):+ bb.fatal("ARCHIVER_MODE[srpm] needs package_rpm in PACKAGE_CLASSES")++ # Some recipes do not have any packaging tasks+ if hasTask("do_package_write_rpm"): d.appendVarFlag('do_deploy_archives', 'depends', ' %s:do_package_write_rpm' % pn) d.appendVarFlag('do_package_write_rpm', driverfix license key [14 may 2017]  ❌, 'dirs', ' ${ARCHIVER_RPMTOPDIR}') d.appendVarFlag('do_package_write_rpm', 'sstate-inputdirs', ' ${ARCHIVER_RPMTOPDIR}')@@ -133,8 +137,6 @@ d.appendVarFlag('do_package_write_rpm', 'depends', ' %s:do_ar_patched' % pn) elif ar_src == "configured": d.appendVarFlag('do_package_write_rpm', 'depends', ' %s:do_ar_configured' % pn)- else:- bb.fatal("ARCHIVER_MODE[srpm] needs package_rpm in PACKAGE_CLASSES") } # Take all the sources for a recipe and puts them in WORKDIR/archiver-work/.diff --git a/poky/meta/classes/autotools.bbclassb/poky/meta/classes/autotools.bbclass index 8768a6a.3d22ad0 100644 --- a/poky/meta/classes/autotools.bbclass +++ b/poky/meta/classes/autotools.bbclass @@ -25,7 +25,9 @@ # Space separated list of shell scripts with variables defined to supply test # results for autoconf tests we cannot run at build time.-export CONFIG_SITE = "${@siteinfo_get_files(d)}"+# The value of this variable is filled in in a prefunc because it depends on+# the contents of the sysroot.+export CONFIG_SITE acpaths ?= "default" EXTRA_AUTORECONF = "--exclude=autopoint"@@ -132,6 +134,8 @@ EXTRA_OECONF_append = " ${PACKAGECONFIG_CONFARGS}" do_configure[prefuncs] += "autotools_preconfigure autotools_aclocals ${EXTRACONFFUNCS}"+do_compile[prefuncs] += "autotools_aclocals"+do_install[prefuncs] += "autotools_aclocals" do_configure[postfuncs] += "autotools_postconfigure" ACLOCALDIR = "${STAGING_DATADIR}/aclocal"@@ -140,7 +144,6 @@ ACLOCALEXTRAPATH_class-nativesdk = " -I ${STAGING_DATADIR_NATIVE}/aclocal/" python autotools_aclocals () {- # Refresh variable with cache files d.setVar("CONFIG_SITE", siteinfo_get_files(d, sysrootcache=True)) }diff --git a/poky/meta/classes/icecc.bbclassb/poky/meta/classes/icecc.bbclass index 78a2f76.fc82f8d 100644 --- a/poky/meta/classes/icecc.bbclass +++ b/poky/meta/classes/icecc.bbclass @@ -73,10 +73,13 @@ # # libgcc-initial - fails with CPP sanity check error if host sysroot contains # cross gcc built for another target tune/variant+# systemtap - _HelperSDT.c undefs macros and uses the identifiers in macros emitting+# inline assembly # target-sdk-provides-dummy - ${HOST_PREFIX} is empty which triggers the "NULL # prefix" error. ICECC_SYSTEM_PACKAGE_BL += "\ libgcc-initial \+ systemtap \ target-sdk-provides-dummy \ Lumion Pro 10 keygen Archives "diff --git a/poky/meta/classes/image.bbclassb/poky/meta/classes/image.bbclass index 7fa4ff2.f4633da 100644 --- a/poky/meta/classes/image.bbclass +++ b/poky/meta/classes/image.bbclass @@ -526,7 +526,7 @@ base_size = size_kb * overhead_factor bb.debug(1, '%f = %d * %f' % (base_size, size_kb, overhead_factor)) base_size2 = max(base_size, rootfs_req_size) + rootfs_extra_space- bb.debug(1, '%f = max(%f, %d)[%f] + %d' % driverfix license key [14 may 2017]  ❌, base_size, rootfs_req_size, max(base_size, rootfs_req_size), overhead_factor))+ bb.debug(1, '%f = max(%f, %d)[%f] + %d' % (base_size2, base_size, rootfs_req_size, max(base_size, rootfs_req_size), rootfs_extra_space)) base_size = base_size2 if base_size != int(base_size):diff --git a/poky/meta/classes/kernel.bbclassb/poky/meta/classes/kernel.bbclass index bf36742.ebcb79a 100644 --- a/poky/meta/classes/kernel.bbclass +++ b/poky/meta/classes/kernel.bbclass @@ -96,8 +96,10 @@ d.setVar('ALLOW_EMPTY_%s-image-%s' % (kname, typelower), '1') image = d.getVar('INITRAMFS_IMAGE')- image_bundle = d.getVar('INITRAMFS_IMAGE_BUNDLE')- if image and bb.utils.to_boolean(image_bundle, False):+ # If the INTIRAMFS_IMAGE is set but the INITRAMFS_IMAGE_BUNDLE is set to 0,+ # the do_bundle_initramfs does nothing, but the INITRAMFS_IMAGE is built+ # standalone for use by wic and other tools.+ if image: d.appendVarFlag('do_bundle_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') # NOTE: setting INITRAMFS_TASK is for backward compatibilitydiff --git a/poky/meta/classes/package.bbclassb/poky/meta/classes/package.bbclass index 114d655.aa8451f 100644 --- a/poky/meta/classes/package.bbclass +++ b/poky/meta/classes/package.bbclass @@ -1646,7 +1646,8 @@ prov = (this_soname, ldir, pkgver) if not prov in sonames: # if library is private (only used by package) then do not build shlib for it- if not private_libs or this_soname not in private_libs:+ import fnmatch+ if not private_libs or len([i for i in private_libs if fnmatch.fnmatch(this_soname, i)]) == 0: sonames.add(prov) if libdir_re.match(os.path.dirname(file)): driverfix license key [14 may 2017]  ❌ needs_ldconfig = [email protected]@ -1829,7 +1830,8 @@ # /opt/abc/lib/libfoo.so.1 and contains /usr/bin/abc depending on system library libfoo.so.1 # but skipping it driverfix license key [14 may 2017]  ❌ still better alternative than providing own # version and then adding runtime dependency for the same system library- if private_libs and n[0] in private_libs:+ import fnmatch+ if private_libs and len([i for i in private_libs if fnmatch.fnmatch(n[0], i)]) > 0: bb.debug(2, '%s: Dependency %s covered by PRIVATE_LIBS' % (pkg, n[0])) continue if n[0] in shlib_provider.keys():diff --git a/poky/meta/classes/python3native.bbclassb/poky/meta/classes/python3native.bbclass index a3acaf6.d98fb4c 100644 --- a/poky/meta/classes/python3native.bbclass +++ b/poky/meta/classes/python3native.bbclass @@ -9,6 +9,14 @@ export STAGING_INCDIR export STAGING_LIBDIR+# Packages can use+# find_package(PythonInterp REQUIRED)+# find_package(PythonLibs REQUIRED)+# which ends up using libs/includes from build host+# Therefore pre-empt that effort+export PYTHON_LIBRARY="${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so"+export PYTHON_INCLUDE_DIR="${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}"+ export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" # suppress host user's site-packages dirs.diff --git a/poky/meta/classes/pythonnative.bbclassb/poky/meta/classes/pythonnative.bbclass index ae6600c.0e9019d 100644 --- a/poky/meta/classes/pythonnative.bbclass +++ b/poky/meta/classes/pythonnative.bbclass @@ -12,6 +12,14 @@ export STAGING_INCDIR export STAGING_LIBDIR+# Packages can use+# find_package(PythonInterp REQUIRED)+# find_package(PythonLibs REQUIRED)+# which ends up using libs/includes from build host+# Therefore pre-empt that effort+export PYTHON_LIBRARY="${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so"+export PYTHON_INCLUDE_DIR="${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}"+ # suppress host user's site-packages dirs, driverfix license key [14 may 2017]  ❌. export PYTHONNOUSERSITE = "1"diff --git a/poky/meta/classes/rm_work.bbclassb/poky/meta/classes/rm_work.bbclass index c478f4a.a6bd3f7 100644 --- a/poky/meta/classes/rm_work.bbclass +++ b/poky/meta/classes/rm_work.bbclass @@ -121,7 +121,7 @@ } do_rm_work_all[recrdeptask] = "do_rm_work" do_rm_work_all[noexec] = "1"-addtask rm_work_all after before do_build+addtask rm_work_all before do_build do_populate_sdk[postfuncs] += "rm_work_populatesdk" rm_work_populatesdk () {diff --git a/poky/meta/classes/rootfs-postcommands.bbclassb/poky/meta/classes/rootfs-postcommands.bbclass index 6cec23e.fc33816 100644 --- a/poky/meta/classes/rootfs-postcommands.bbclass +++ b/poky/meta/classes/rootfs-postcommands.bbclass @@ -95,6 +95,11 @@ sed -i -e '/^[#[:space:]]*\/dev\/root/{s/defaults/ro/;s/\([[:space:]]*[[:digit:]]\)\([[:space:]]*\)[[:digit:]]$/\1\20/}' ${IMAGE_ROOTFS}/etc/fstab fi+ # Tweak the "mount -o remount,rw /" command in busybox-inittab inittab+ if [ -f ${IMAGE_ROOTFS}/etc/inittab ]; then+ sed -i 's
                                            
    Internet Download Manager(idm) is a download(full version) accelerator. By using this idm download software we are able download from the Internet at a high speed.But when we are downloading the idm software from its official site it is not a full version. That is a 30 day trial pack, driverfix license key [14 may 2017]  ❌. After these days are past it will ask you to enter serial key or to buy. So here is the process to make any downloaded IDM full version.After making this it will be registered for lifetime and not ask to register it further.

    Process:.



    1. Free IDM Download latest version from here or If you already have IDM installed Update it [Process for update: Click on help on the menu bar and then click on check updates. It will search for updates and ask you to install]
    2. If you like your installed version of IDM very much. Then don't update or skip the first step.
    3. Now click on "registration" on the menu bar.
    4. When you click on registration, driverfix license key [14 may 2017]  ❌, Now a new window Will be open ask your First Name, Last Name, Email Address and Serial Key.


                           free idm download screenshot 1

    5, driverfix license key [14 may 2017]  ❌. Enter your First name, Last Name, Email address in the required field.
    6. In the serial key field enter any of the following given below

         RLDGN-OV9WU-5W589-6VZH1

         HUDWE-UO689-6D27B-YM28M

         UK3DV-E0MNW-MLQYX-GENA1

         398ND-QNAGY-CMMZU-ZPI39

         GZLJY-X50S3-0S20D-NFRF9

         W3J5U-8U66N-D0B9M-54SLM

         EC0Q6-QN7UH-5S3JB-YZMEK

         UVQW0-X54FE-QW35Q-SNZF5

         FJJTJ-J0FLF-QCVBK-A287M

        And click on ok to register.

    7. After you click OK, it will show an error message that you have registered IDM using fake serial key and IDM will exit. See screenshot

                                      free idm download screenshot 1

    Now the actual hacking process starts:
    8. First of all go to "C:/" drive then go to "Windows" Folder and then go driverfix license key [14 may 2017]  ❌ "System32" folder and then go to "Drivers" folder and then go to "Etc" Folder.
        Path is: C:\Windows\System32\drivers\etc
        or Simply "C:\Windows\System32\drivers\etc" paste this (without quotes) in my computer's address bar and hit enter, driverfix license key [14 may 2017]  ❌. It will open the required folder.

    FOR WINDOWS XP:

    9.in the Etc folder you will see the hosts file. Open the file with notepad.

    Now copy the below lines of code and add to hosts file as shown below the image box :


    127.0.0.1 tonec.com

    127.0.0.1 www.tonec.com

    127.0.0.1 registeridm.com

    127.0.0.1 www.registeridm.com

    127.0.0.1 secure.registeridm.com

    127.0.0.1 internetdownloadmanager.com

    127.0.0.1 www.internetdownloadmanager.com

    127.0.0.1 secure.internetdownloadmanager.com

    127.0.0.1 mirror.internetdownloadmanager.com

    127.0.0.1 mirror2.internetdownloadmanager.com

                                  free idm download screenshot 1

    10. After adding these codes, save the notepad file. And exit from there.

    Now again repeat the 3rd step to 6th step.
    Reboot or restart your PC. After restart Now open your IDM it will be full version and not ask you to register.



    In windows vista and 7  we are not able to save the "hosts" file  due to security resion. For that first of all we have to take the ownership of the file to our logged user.So here is the process how to do so.

    FOR WINDOWS 7
    9.in the Etc folder you will see the hosts file.
    Right click on the hosts file >go to its  properties >security tab > here you will see "EDIT" option
    HERE give access to all users and tick all the boxes(allow for all users)
    now save settings now open hosts file in notepad.

    Now copy the below lines of code and add to hosts file as shown below the image box :


    127.0.0.1 tonec.com

    127.0.0.1 www.tonec.com

    127.0.0.1 registeridm.com

    127.0.0.1 www.registeridm.com

    127.0.0.1 secure.registeridm.com

    127.0.0.1 internetdownloadmanager.com

    127.0.0.1 www.internetdownloadmanager.com

    127.0.0.1 secure.internetdownloadmanager.com

    127.0.0.1 mirror.internetdownloadmanager.com

    127.0.0.1 mirror2.internetdownloadmanager.com


     free idm download screenshot 1

     NOW SAVE THE HOSTS FILE AND EXIT FROM HERE.
    Now again repeat the 3rd step to 6th step.

    Reboot or restart your PC. After restart Now open your IDM it will be full version and not ask you to register

    IF YOU ARE HAVING PROBLEM, COMMENT THEREI WILL HELP U OUT.
    Источник: [https://torrent-igruha.org/3551-portal.html]

    0 comments

    Leave a Reply

    Your email address will not be published. Required fields are marked *